Posted By: Ben Hoskings
Date: 2009-04-17 21:59
Summary: hammock 0.2.16 Released
Project: Hammock

hammock version 0.2.16 has been released!

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.16 2009-04-16
Use #nested_params_for in #make_new_record, instead of #params_for, to set nesting attributes like foreign keys.
Added #nested_params_for, to return the params for the current record plus all nestable 'blah_id' parameters.
Updated the implementation of current_hammock_resource to use #chomp! instead of regex matching and #gsub.
Fixed the find in find_record_on_create to query correctly with the current_nest_scope.
Use AR::Base.nestable_reflections in #determine_routing_parent instead of manual implementation.
Added AR::Base.nestable_reflections.

## 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.

Latest News
icalendar 1.4.0 Released
    Ryan Ahearn - 2013-05-21 23:17
BinData 1.5.0 - source moved to github
    Dion Mendel - 2013-05-21 11:10
v13.5.0 Released !!
    id 774 - 2013-05-18 12:28
Runt v0.9.0 Released
    Matthew Lipper - 2013-05-17 00:11
kramdown 1.0.2 released
    Thomas Leitner - 2013-05-09 06:58

 

Forums | Admin

Discussion Forums: hammock-0.2.16-released

Start New Thread Start New Thread

 

Topic Topic Starter Replies Last Post