sa 125 wrote:
> Now, a separate form on the page is used to update the shown records. I 
> can't see how this relates to your answer (then again, I'm new to all 
> this).

If you have a separate form on the page for edits, how are you getting 
the "selected" record into that form for editing?

I assume there a list view at the top which returns all those record 
meeting the search criteria, and below is the editable form.

Do you edit one by one, or are you looking for something more like an 
edit in place within the listing?

Haven't done this myself, so this is all speculation...

For one by one, I assume you'll need some column in the list partial 
where the action (on click) executes a remote call with that record id 
and loads that records data into the form portion for editing (discard 
what was in the form portion, and reload that form part with the 
"current" records data). Or something like that?
-- 
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to