Ian Ker-Seymer

Results 149 comments of Ian Ker-Seymer

cool stuff! Unfortunately this will have some serious merge conflicts with the `scaffold_controller` feature I am pull requesting (https://github.com/apotonick/roar-rails/pull/83). If @apotonick approves of this, we could implement this feature branch...

I prefer decorator as default as well.

Looks like the error was indeed raised. `wrong number of arguments (1 for 0)` ``` ruby def create_response(model) render_method = "to_#{format}" media_format = Mime[format] # stuck on this line Response.new(model.send(render_method,...

Thanks for the quick response! Just tried to make it a decorator. Same issue. I am on Rails 4.1.5 and Ruby 2.1.3 if that helps :smile:

@apotonick I forgot to mention, my `Lander` model is not namespaced in `Api::V1` like my controller. Just thought I would let you know in case that could be a source...

Update: confirmed this behavior on another Rails 4.1.5 app.

*\* namespaced our representers AND used the decorator class pattern.

Judging from the documentation, `Content-Length` header is not required. Seems like it may be a straightforward fix. @quartzmo do you still plan on transferring the issue?