assembler / attachinary

Attachments handler for Rails that uses Cloudinary for storage.
MIT License
294 stars 129 forks source link

Remove responders dependency #112

Closed DanielNill closed 9 years ago

DanielNill commented 9 years ago

Rails 4.2 removes class level respond_to and respond_with. Currently to use the attachinary gem in a rails 4.2 app you have to add the responders gem as a dependency. This seems like an easier solution that adding responders as a hard dependency of the gem.

I tested that this works for my app, but it does not actually use the cors controller functionality so not all cases have been tested.

orlando commented 9 years ago

Thanks for the PR, merging :fire: