A respond_to style helper for doing different actions based on which request parameters are passed. Specifically, it is helpful if you want to use multiple form buttons on a page, such as "Save", "Save and Continue Editing", and "Cancel". with_action executes different blocks based on what the presence of request parameters.

Required Ruby Version

None

Required Rubygems Version

>= 1.3.6

Authors

Brandon Keepers, Daniel Morrison

Versions

  1. 1.0.0 October 26, 2010 (7 KB)

SHA 256 checksum