> It not that @controller contains a reference to you controller - 
> it is an actual instance of it.

OK, I phrased that badly.

> And 'prepending a method call' sounds like you think there is some
> magic going on - there isn't - methods are always called on a certain
> object (omitting the object means the method is called on self)

And that too :-)
Thanks for clearing that up.


-- 
Posted via http://www.ruby-forum.com/.

-- 
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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to