RubyGems Navigation menu

with_action 1.0.0

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.

Gemfile
          gem 'with_action', '~> 1.0.0'
  
  
  
  
  
  
  

install
          gem install with_action
  
  
  
  
  
  
  

Total downloads 3,709

For this version 3,709

Required Ruby Version: None

Links:

Versions:

  1. 1.0.0 - October 26, 2010 (7 KB)

Runtime Dependencies:

Development Dependencies: