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

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

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.
This topic is locked and can not be replied to.