RubyGems.org

resourcer

0.4.0

Ruby on Rails supports RESTful routing out-of-the-box. However, as you move along, you will often find yourself repeating the code for the seven REST actions: index, show, new, create, edit, update, destroy. This gem allows you to get all of the code for free by simply typing 'include Rest' at top of your controller code. That's it! Even better, you can have nested resources as well by adding a 'belongs_to' statement to your controllers much like you would for ActiveRecord models. This is just the tip of the iceburg so make sure to read the RDoc for more info.

installgem install resourcer
Authors

Brooke Kuhlmann

832 total downloads 44 for this version
Versions
  1. 0.4.0 August 13, 2010
  2. 0.3.2 July 18, 2010
  3. 0.3.1 July 18, 2010
  4. 0.3.0 July 18, 2010
  5. 0.2.4 June 7, 2010
Show all versions (11 total)
Runtime Dependencies
  1. rails >= 2.3.8