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 -v 0.4.0
Authors

Brooke Kuhlmann

5,627 total downloads 358 for this version
Owners

Efaf626f554fec928a856a737d30c64d

Bundler
gem "resourcer", "~> 0.4.0"
Versions
  1. 0.4.0 August 13, 2010
Show all versions (18 total)
Runtime Dependencies
  1. rails >= 2.3.8