Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename root file to match gem name #8

Merged
merged 1 commit into from
Apr 15, 2016
Merged

Rename root file to match gem name #8

merged 1 commit into from
Apr 15, 2016

Conversation

reidmorrison
Copy link
Contributor

Lets bundler automatically require 'activemodel-serializers-xml'.

Without renaming the root file to match the gem file name bundler does not automatically require the gem. I.e. Without this change the following require is needed in the application for it to work:

require 'active_model/serializers'

so that bundler automatically requires 'activemodel-serializers-xml'.
@vipulnsward
Copy link
Member

This is causing issues like rails/rails#24558 cc @rafaelfranca

@rafaelfranca rafaelfranca merged commit f380ea5 into rails:master Apr 15, 2016
@rafaelfranca
Copy link
Member

Thanks

ulissesalmeida added a commit to heartcombo/devise that referenced this pull request Apr 15, 2016
With this [PR](rails/activemodel-serializers-xml#8)
of activemodel-serializers bundle will require it by default.
kimgb pushed a commit to kimgb/devise that referenced this pull request Apr 21, 2016
With this [PR](rails/activemodel-serializers-xml#8)
of activemodel-serializers bundle will require it by default.
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.

3 participants