I'm trying to take form data and put it into a model variable without
using ActiveRecord's features (save, create, update_attributes, etc.)
that would write the record out to a database.
So I've written a method like this in my Customer model:
cust_info.each do |formfield, value|
formfield = value
And Ive got a form where some of the form fields are all set up such
I've got a controller that has a customer object defined and I just
want to modify certain fields based on what was submitted by use of
But the modify method I defined (see above) doesn't appear to work.
How can I go through the hash and have each key in it be used to
identify the appropriate field in the model's object to assign the