public
Description: resources_controller rails plugin: rc makes RESTful controllers fun
Homepage: http://plugins.ardes.com/doc/resources_controller
Clone URL: git://github.com/ianwhite/resources_controller.git
Click here to lend your support to: resources_controller and make a donation at www.pledgie.com !
ianwhite (author)
Thu Oct 08 06:14:05 -0700 2009
commit  66479f8fad4b5d0eb4478aac081d5ff36836ff06
tree    8f763cb1d1cd30f7951d5c0c164ee655ca736c53
parent  d2cd1e95fd2bd0ccc5b2ad437efbdbef293a4ee7
name age message
file .gitignore Thu Nov 20 01:56:06 -0800 2008 updating to use new garlic gem style [ianwhite]
file History.txt Loading commit data...
file License.txt Tue Sep 29 01:11:54 -0700 2009 Words [ianwhite]
file README.rdoc
file Rakefile Tue Sep 29 09:11:53 -0700 2009 Use hanna rdoc if available [ianwhite]
file Todo.txt Fri Feb 13 06:26:03 -0800 2009 Simplify Rakefile and push docs to gh-pages on ... [ianwhite]
file garlic.rb
file init.rb Sat Sep 19 08:42:47 -0700 2009 Added RequestPathIntrospection module and specs... [ianwhite]
directory lib/
directory spec/
README.rdoc

resources_controller

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.

See History.txt for recent changes.

Resources

Github for code: github.com/ianwhite/resources_controller

API docs: ianwhite.github.com/resources_controller/doc

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

Lighthouse for bugs: ianwhite.lighthouseapp.com/projects/10598-resources_controller

Blog articles: blog.ardes.com/resources_controller

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

works with rails 2.x

resources_controller works with rails 2.x, and is currently tested against 2.0, 2.1, 2.2, and 2.3 stable branches

Specs and Coverage

  • The SPECDOC lists the specifications
  • Coverage is 100% (C0), and the spec suite is quite comprehensive
  • Rspec’s generated rspec_scaffold controller specs are tested against a simple rc controller (see rake spec:generate)

RSpec is used for testing, so the tests are in spec/ rather than test/ Do rake —tasks for more details.

Continuous Integration

garlic (at github.com/ianwhite/garlic) is used for CI. To run the CI suite have a look at garlic.rb

Contributors

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

  • 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