Forum: Ruby on Rails 2 forms + one to one relationship

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Petan C. (Guest)
on 2009-02-13 17:11
Hi,

I have 2 controllers (posts and images) and one to one relationship. In
my post/new.rhmtl I have two forms.

One is for uploading image, the image form submit button initialize
lightbox to crop the image.
The second form is for post. How can I assign image I have uploaded to
the article I am just writting.

Thank you very much for your ideas.
P.
This topic is locked and can not be replied to.