josevalim/inherited_resources — pull request #251 by mcspring (2012-12-14 09:48:36+00:00)
Title: support create with three block arity

This pull request add ability for user wanted to access the new created resource.

With this pull request, you can write custom create as follow:

```
def create
create! do |resource, success, failure|
success.html { redirect_to url_for(resource) }
failure.html { redirect_to root_url }
end
end
```

I met this requirement when I use *acts-as-taggable-on* gem, adding tag support for some entities. In that scene, I need to do thing likes `current_user.tag(resource, :on => tags, :with => params[:tags])`.

Hope this will useful.

Thanks.