creating multiple lists with sortable_element and would like to serialize them and save back to the db. i have the sorting between multiple lists working properly. can anyone point me in the right direction for serializing and saving? thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
found out that sortable_element passes the serialized element to the controller with the :action => "method". How do I save to the db from the controller once I have the serialized list there? On Jun 14, 9:00 am, berkelep <patrickberke...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> creating multiple lists with sortable_element and would like toserializethem and save back to the db. > > i have the sorting between multiple lists working properly. can anyone > point me in the right direction for serializing and saving? > > thanks--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I am doing this without acts_as_list. How do I get the params data formatted once it gets to the controller? On Jun 14, 4:23 pm, berkelep <patrickberke...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> found out that sortable_element passes the serialized element to the > controller with the :action => "method". > > How do I save to the db from the controller once I have the serialized > list there? > > On Jun 14, 9:00 am,berkelep<patrickberke...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > creating multiple lists with sortable_element and would like toserializethem and save back to the db. > > > i have the sorting between multiple lists working properly. can anyone > > point me in the right direction for serializing and saving? > > > thanks--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I am doing this without acts_as_list. How do I get the params data formatted once it gets to the controller? On Jun 14, 4:23 pm, berkelep <patrickberke...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> found out that sortable_element passes the serialized element to the > controller with the :action => "method". > > How do I save to the db from the controller once I have the serialized > list there? > > On Jun 14, 9:00 am,berkelep<patrickberke...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > creating multiple lists with sortable_element and would like toserializethem and save back to the db. > > > i have the sorting between multiple lists working properly. can anyone > > point me in the right direction for serializing and saving? > > > thanks--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---