On 8 Mar 2009, at 09:42, Renars Sirotins wrote:
>
> So far it is working. But I need to add one more parameter to @thing
> variable that doesn`t come from user input. It comes from another  
> model
> (:another_main_thing_id). What is the syntax for adding this parameter
> to @thing variable.

There's an accessor  function created for you for each database  
attribute

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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to