[Rails] Re: How to manage session with multiple records
On Feb 9, 12:40 pm, Kunjan Batavia <li...@ruby-forum.com> wrote:
> Hi,
> I am new to Ruby.
> I want to develop one page with multiple child records associated with
> master record.
>
Have you searched some the examples that use
accepts_nested_attributes_for ?
A lot of tutorials/examples on it cover the ability to add/edit
multiple child records is
Fred
> So basic idea is to have one contact dropdown and add multiple contacts
> in session.
>
> After saving contact is session, display added contact records in the
> same page with remove link. Up to this data is managed in session only.
>
> After click on final save button, master record will be saved and all
> the contact records of session also needs to be saved.
>
> Can anyone guide me how to develop this kind of scenario.
>
> Thanks in advance.
>
> --
> Posted viahttp://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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home