Ruby on Rails Monday, August 29, 2011

I'm trying to figure out how to use check boxes to select multiple
records and update them accordingly depending on what button a user
presses (think GMail http://i.imgur.com/94DUi.jpg e.g., delete, archive,
etc).

There's a really great Railscasts
(http://railscasts.com/episodes/52-update-through-checkboxes) that
introduced me to this functionality but I'm having trouble figuring out
how to extend it to include more than one button. What is the best way
to go about extending this functionality to include more buttons without
adding the checkboxes? I'm also willing to try an AJAX solution if
someone can link me a good tutorial.

--
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@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.

No comments:

Post a Comment