Did you know they changed #try ?
I wrote a small article describing how #try implementation changed between Rails 3 and Rails 4.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
I wrote a small article describing how #try implementation changed between Rails 3 and Rails 4.
Comments
In your example, you should define respond_to_missing? instead of overriding respond_to?
Post a comment