Guilherme Theodoro Carlos
2012-Nov-08 14:15 UTC
After order a HTML with JQuery UI Drag and Drop, save ordered table to DB using Rails
Hi guys I''m doing a form with fields like name, email, phone, address, city, state, etc. Each field has a table in db. I will use state field as an example: In db I had table states with columns: position, name and acronym In my View I had a HTML table with name and acronym, ordered by position (when page loads). I can order my table using select box (order by name or acronym) or using drag and drop. How could I save my "new table" to db when i click Save button? Tks! -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.