Skip to content

Remove responders dependency#112

Merged
orlando merged 1 commit intoassembler:masterfrom
DanielNill:rails_4_2_compatability_for_cors
Nov 23, 2015
Merged

Remove responders dependency#112
orlando merged 1 commit intoassembler:masterfrom
DanielNill:rails_4_2_compatability_for_cors

Conversation

@DanielNill
Copy link
Copy Markdown
Contributor

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.

… isnt a dependency for apps running rails >= 4.2
@orlando
Copy link
Copy Markdown
Collaborator

orlando commented Nov 23, 2015

Thanks for the PR, merging 🔥

orlando added a commit that referenced this pull request Nov 23, 2015
@orlando orlando merged commit aafd0fd into assembler:master Nov 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants