don't raise NoMethodError the tried method doesn't exists
Could somebody please explain this change?
As I understand it, the purpose of Object#try is to call a method on an object of an expected class, but that could also be nil. In what situation would you want to silently avoid a NoMethodError? If I'm trying a method that doesn't exist in my expected class, I should know about it.
On STI objects where you might have methods defined for some records, but not for others for example.
Agreed, I think we should revert this.
-1 to this change as well. It's not acceptable to radically change the behavior at this point.
This commit 587dd7d also need to revert the fix the failing test. Or might need a fix!
587dd7d commit is not having test.