Release Name: 0.2.12
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.12 2009-03-31
Added loading message.
Moved require for hammock components within Hammock.included.
Commented debugging output in #determine_routing_parent.
Removed InstanceMethods and ClassMethods internal modules from RestfulActions, to explicitly include it more cleanly in ApplicationController.
Fix the loading code to achieve the same load whether hammock is installed as a plugin or a gem.
Send toplevel loading include to ActionController::Base instead of reopening ApplicationController.
Replaced escort_for_40[34] with render_for_status, which chooses the first available from controller partial, shared partial, static page and uses the correct HTTP status code.
== 0.2.11.4 2009-03-25
Don't encodeURIComponent() the authenticity_token, as it's not required and breaks non-alphanumeric chars.
|