RubyGems Navigation menu


Hammock is a Rails plugin that eliminates redundant code in a very RESTful manner. It does this in lots in lots of different places, but in one manner: it encourages specification in place of implementation. Hammock enforces RESTful resource access by abstracting actions away from the controller in favour of a clean, model-like callback system. Hammock tackles the hard and soft sides of security at once with a scoping security system on your models. Specify who can verb what resources under what conditions once, and everything else - the actual security, link generation, index filtering - just happens. Hammock inspects your routes and resources to generate a routing tree for each resource. Parent resources in a nested route are handled transparently at every point - record retrieval, creation, and linking. It makes more sense when you see how it works though. There's a screencast coming soon.


  1. 0.6.0 - August 01, 2010 (38 KB)
  2. 0.5.11 - May 11, 2010 (38.5 KB)
  3. 0.5.10 - May 11, 2010 (38.5 KB)
  4. 0.5.9 - May 11, 2010 (38.5 KB)
  5. 0.5.8 - February 20, 2010 (38 KB)
  6. - July 19, 2009 (35.5 KB)
Show all versions (51 total)

Development Dependencies (1):


  • Ben Hoskings


SHA 256 checksum:


Total downloads 125,218

For this version 2,434

= Copy to clipboard Copied!




Required Ruby Version: None