Thursday, September 7, 2017

Rails debugging related

Use sth similar to below alongwith binding.pry

caller.select{|c| c.include? "rails-project-folder-name"}

This will give the list of callers (methods) that are your code.


No comments:

Post a Comment

Followers

Blog Archive