2009/9/13 Dudebot <[email protected]>:
>
> Thanks, Eric.  What I'm struggling with is how to set a variable,
> rather than get one.  What would be the proper form for setting
> SomeObject.amount?

I don't understand the question here.  Are you trying to set the
content of the text field when it is displayed or set a variable in
your controller?  If the latter then the value the user enters gets
passed to the controller in the params hash.

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

Reply via email to