Files | Admin

Notes:

Release Name: 0.2.15.1

Notes:
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, so check out the screencast!


Changes: == 0.2.15.1 2009-04-15 Convert action_name to a symbol instead of a string before checking for ImpliedUnsafeActions. Revert "Switched from #in? to #include? for non-literal args, since it splats into a nested array and breaks." Updated Object#in? to handle array args as well as splatted literal args. == 0.2.15 2009-04-15 Switched from #in? to #include? for non-literal args, since it splats into a nested array and breaks. Moved implied verbs from RouteStep#implied_verb? to a constant. partitioned_scope now uses an empty_scope when the resource doesn't match. Added String#/ to wrap File.join beautifully (thanks merb).