Ruby on Rails Monday, April 30, 2012

that makes sense, thanks

On Apr 30, 12:41 pm, Tim Shaffer <timshaffe...@gmail.com> wrote:
> id and class are built-in ruby methods that are present on all object
> instances.
>
> Rails uses them in a different manner than the default Ruby implementation.
>
> They are undefined so that they can be picked up by the method_missingmethod.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment