Re:Try(), try() again in Rails
by tomstuart on Thursday April 28, 2011 @10:42AM
(#2493493)
Even better to avoid chaining altogether by using delegation (cf. Law of Demeter) and taking advantage of the :allow_nil option to Active Support's Module#delegate (http://api.rubyonrails.org/classes/Module.html#method-i-dele...).
[ Parent
| on HN ]
There are no comments on this comment yet.