Thursday, April 4, 2013

[Rails] Redirect_to without reload?

Hi,

I am slowly learnng ROR and wondering if anyone can point me in the
general direction to go with the following problem.

User is filling out a form (question model) and needs to leave the page
to select an image from a gallery (picture model). When the user
selects and saves the image they are redirected back to the original
form. How is this done without reloading the question form and losing
the data? Is there a standard for doing this? I have considered saving
when leaving page and redirecting to edit/update form but cant save data
unless all fields filled out due to validation.

I am having fun learning Rails so even a clue as to direction to take
would be helpful. I'm happy to spend the time figuring out the
details...

Thanks!

--
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate