News for hackers. Stuff that matters.
Re:Reasons to use Phoenix instead of Rails by thibaut_barrere on Sunday November 26, 2017 @01:41PM (#15782290)
(note: I use both Elixir & Ruby, for different reasons)

You can most of the time rely on object.method(:blank?).source_location to quickly determine where a specific method is defined.

More useful debugging tips can be found here:

https://www.schneems.com/2016/01/25/ruby-debugging-magic-che...

Re:Reasons to use Phoenix instead of Rails by nitrogen on Sunday November 26, 2017 @01:59PM (#15782382)
If you use Pry with Rails, you can also call binding.pry before the method in question, then type show-method [methodname] in the Pry console.