trailblazer / roar-rails

Use Roar's representers in Rails.
http://roar.apotomo.de
MIT License
235 stars 65 forks source link

Fixed status code errors by calling _process_options #74

Closed ejlangev closed 10 years ago

ejlangev commented 10 years ago

Needed to use the _process_options method explicitly because the overriding of render_to_body in the ControllerAdditions module removes it from the call chain.

Should resolve https://github.com/apotonick/roar-rails/issues/71

ejlangev commented 10 years ago

@apotonick Here's the implementation I described, it seems like the library as a whole has some trouble working with HAL. It only registers a Mime Handler for it in tests which might cause some problems. However there are no failing tests and it seemed outside the scope of what I was doing so I just let if go.