On 25 April 2012 20:15, Dave Castellano <[email protected]> wrote:
> So why the = sign in the first example?
Do you mean in
u.attributes = {:name =>"Fred", :color => "green"}
Because that is assigning the hash to the variable u.attributes.
Please quote the previous message when replying in order to avoid the
necessity of looking back at previous emails to work out what the
message is referring to.
Colin
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.