ccocchi/rabl-rails — pull request #4 by ccocchi (2012-09-11 09:47:54+00:00)
Title: Add custom responder

This allow Rails to use rabl template in `respond_to` instead of calling `to_format` on the object.

For example in a PostController

```ruby
def create
@post = Post.new(params[:post])
@post.save
respond_with(@post)
end
```

create will render the `responder_default_view` (that can be customizable), for example _show.json.rabl_