/resources_controller

resources_controller rails plugin: rc makes RESTful controllers fun

Primary LanguageRubyMIT LicenseMIT

resources_controller

<img src=“https://secure.travis-ci.org/ianwhite/resources_controller.png?branch=master” alt=“Build Status” />

is a plugin to facilitate inheritance and DRYness in your resources controllers. It introduces some abstraction to help you override the default RESTful funtionality in a clean and simple manner.

The gem name is rc_rails

Rails 3 version

Add this to your Gemfile

gem 'rc_rails'

Resources

Github for code: github.com/ianwhite/resources_controller

Rdoc.info docs: rdoc.info/github/ianwhite/resources_controller/master/frames

Google group for questions: groups.google.com/group/resources_controller

RailsConfEurope presentation files: en.oreilly.com/railseurope2008/public/schedule/detail/3536

for rails 2.x

use the rails2 branch: github.com/ianwhite/resources_controller/tree/rails2

How to contribute

If you have found a bug, or have a new feature, then spec’d code is great.

To get set up for development, do the following:

git clone git://github.com/ianwhite/resources_controller
cd resources_controller
cp Gemfile.lock.development Gemfile.lock
bundle
rake spec
rake spec:rspec_generated_specs

Contributors

The following people have made contributions to resources_controller. Please let me know if I’ve missed you out.

  • Lewis Marshall

  • Josh Goebel

  • Andrew Bloomgarden

  • Chris Hapgood

  • Jason Lee

  • Richard Hooker

  • Matt Mower

  • Inviz

  • Dan Kubb

  • Rein Henrichs

  • Tom Stuart

  • Joel Chippindale

  • Tim Pope

  • Tom ten Thij

  • Sergei Serdyuk

License

Copyright © 2007-2009 Ian White, MIT License