Comments (6)
+1
from spree_auth_devise.
Truth be told, I've not been paying attention to the version number in the gemspec. I've been advising people to install this gem from GitHub so that we can push out releases easily. As such, I would suggest to ignore rubygems.org versions of the spree_auth_devise gem.
from spree_auth_devise.
Thanks for the reply Ryan.
I believe the problem we end up having is when we have a spree extension that relies on a Spree::User.
We had been putting spree_auth_devise in the gemspec (but now that I think about it, that's probably a horrible idea as it ties the user to a specific spree auth implementation).
@mscottford could we have gotten around this by using class evaling Spree.user_class instead of Spree::User ?
from spree_auth_devise.
I think Spree.user_class would be better to class eval, as any Spree specific stuff is added to this class automatically by the user_class_extensions file.
On Mon, Apr 22, 2013 at 9:17 PM, Jeff Squires [email protected]
wrote:
Thanks for the reply Ryan.
I believe the problem we end up having is when we have a spree extension that relies on a Spree::User.
We had been putting spree_auth_devise in the gemspec (but now that I think about it, that's probably a horrible idea as it ties the user to a specific spree auth implementation).@mscottford could we have gotten around this by using class evaling Spree.user_class instead of Spree::User ?
Reply to this email directly or view it on GitHub:
#53 (comment)
from spree_auth_devise.
I forgot to chime in on this a while ago... if someone's writing a gem that depends on spree_auth_devise, which is how we ran into this problem, then this issue also makes it hard to push that gem to rubygems. I understand that telling people that are using spree_auth_devise in their apps to just point to Github in the Gemfile, but what's the correct approach for an extension or other gem?
from spree_auth_devise.
The extension or another gem should recommend to point to GitHub in the README.
from spree_auth_devise.
Related Issues (20)
- login error devise 4.3.0 HOT 10
- Authorization failure page is rendered for not authenticated user
- Spree::Api 'checkouts#update' in production mode causes exception in Metal decorator HOT 1
- Bypass option is deprecated
- Multiple issues with specs
- Login without email impossible due to unique index on `email` column
- Devise Syntax Error HOT 2
- customize user confirmation email url HOT 1
- How can I set up the devise lockable module?
- Alerts are duplicated
- Users can't be really destroyed
- Order token is persisted on logout
- No Way For Users To Re-send The Account Confirmation Email HOT 1
- UserRegistrationsController won't inherit from Spree::BaseController
- 2-Factor Authentication HOT 2
- ArgumentError:wrong number of arguments (given 0, expected 1) on Spree::User#send_confirmation_instructions (spree_auth_devise 4.3.0) HOT 6
- Spree backend user session fallback root path is not admin_path
- Uninitialized constant Spree::UsersController with spree legacy frontend HOT 2
- 4.5.0 breaks rails version resolution (bundler) HOT 1
- URL Generation issue after Admin login HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spree_auth_devise.