RubyGems Navigation menu

benhoskings-hammock 0.3.12

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.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.3.12 - August 11, 2014 (35.5 KB)
  2. 0.3.11 - August 11, 2014 (35.5 KB)
  3. 0.3.10.4 - August 11, 2014 (35.5 KB)
  4. 0.3.10.3 - August 11, 2014 (35.5 KB)
  5. 0.3.10.2 - August 11, 2014 (35.5 KB)
Show all versions (42 total)

Runtime Dependencies (2):

Development Dependencies (1):

hoe >= 2.3.3

Authors:

  • Ben Hoskings

SHA 256 checksum:

4ad23ad54e341e93fa068cd36303f0e9628d91640263f2b8173a8cd7fc68ebdd

Total downloads 124,215

For this version 3,841

Licenses:

N/A

Required Ruby Version: >= 0

Links: