Ben Johnson wrote:> @microsoft = Company.find(2)
> @microsoft.name = "incredibly bad at anything computer related"
> @les_concierge.company_branches.first.company.name
> => "Microsoft"
>
> Why doesn''t the company branch use the new name I assigned to it?
Why is
> it still using Microsoft? How do I get it to use the new name?
>
> Thanks for your help.
Sorry, I meant to put:
@microsoft = Company.find(2)
@microsoft.name = "incredibly bad at anything computer related"
@microsoft.company_branches.first.company.name
=> "Microsoft"
Why doesn''t the company branch use the new name I assigned to it? Why
is
it still using Microsoft? How do I get it to use the new name?
Thanks for your help.
Please disregard the first post.
--
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
-~----------~----~----~----~------~----~------~--~---