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

Potential load-order incompatibility with rails_admin #147

Closed
adamkangas opened this issue Nov 7, 2011 · 7 comments
Closed

Potential load-order incompatibility with rails_admin #147

adamkangas opened this issue Nov 7, 2011 · 7 comments

Comments

@adamkangas
Copy link

A bit of a follow-up and additional work on problems I've had related to: #74 ... could be useful for the Known Incompatibilities page on the Wiki for some poor soul.

The popular rails_admin gem (https://github.com/sferik/rails_admin) mucks around with the User model, similar to Refinery CMS.

In addition to renaming the sorcery.rb initializer to load before the rails_admin.rb initializer, I found that I had to force Sorcery's inclusion as the final line of my initializer file: ActionController::Base.send(:include, Sorcery::Controller)

That way rails_admin can actually see and manage User records.

Happy to answer any questions. Thanks for this gem, which I enjoy despite the occasional trouble!

@jash
Copy link

jash commented Apr 27, 2012

I had this problem exactly! Thanks for your help...

@stas
Copy link

stas commented Jul 26, 2012

Documented!

@axsuul
Copy link

axsuul commented Aug 16, 2012

OMG <3

@stas
Copy link

stas commented Aug 16, 2012

Closed?!

@axsuul
Copy link

axsuul commented Aug 16, 2012

Yes this deserves to be closed, although this problem was not exclusive to only production for me. Also appeared in development yet oddly not in test.

@arnvald
Copy link
Collaborator

arnvald commented Feb 11, 2014

@kirs the issue can be closed, I've added link to the documentation provided by @stas here: https://github.com/NoamB/sorcery/wiki/Known-incompatibilities

@kirs
Copy link
Collaborator

kirs commented Feb 11, 2014

Please notice that the 'Known-incompatibilities' may be outdated (or this issue may be already fixed in rails_admin since 2 years)

@kirs kirs closed this as completed Feb 11, 2014
mklocker pushed a commit to mklocker/sorcery that referenced this issue Aug 20, 2019
…oamB#147)

* demodulize added on authentication class name association name fetch

* changelog entry added for PR NoamB#147

* Add missing `#` to changelog entry
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

No branches or pull requests

6 participants