hello,
i am trying to do the same thing..
is it possible to pass 2 hashes, one for each table to update?
for example i have a form that is composed of recipe fields and i have a
file field that gets saved to my pictures table....is there a way that i
can pass the fields that make up the recipe table to my controler where
all i have to do is a ''.save'' on a new model and the continue
on to
process the image?
--
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
-~----------~----~----~----~------~----~------~--~---