Greg Christopher wrote:
> Hi,
> 
> I was wondering what methods ending in an equal sign meant, but am not
> sure what to search for?  Could anyone point me to any resources or tell
> me some terms to search for.
> 
> Thanks!
> 
> -Greg

It's sugar syntax!

So the method assign=(user_id), can be written in ruby: @object.assign = 
user_id

Note the spaces around the equal sign :-)
-- 
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-talk@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