On 19 Feb 2009, at 17:23, Guillaume Loader wrote:
>
> Hello everyone! :)
>
> I would like to know how to modify a variable in the console?
>
> I did this :
> e = Entry.find(:first)
> e.dev.community.name = "Ruby Geeks"
> e.save
>
> But when I look into my database, the variable didn''t changed. Did
I
> mystype?
>
you didn''t save the right object - e.dev.community.save would
Fred> Thank you :)
> --
> 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---