Comments (6)
@hoshinotsuyoshi please run bundle update spree_auth_devise
- this will install 4.3.1
with a fix for this error. Thank you fo reporting it!
from spree_auth_devise.
Hi @damianlegawiec , Thank you for your quick fix!
I have tried spree_auth_devise 4.3.1
.
But spree4.2.0.rc2
, my own spree app, still seems to have the same problem.
( 👀 👍 #515 )
However, I haven't tried spree/spree 's master branch yet.
I'll report back when I've finished trying it out!
As far as I can tell, the spree/spree master branch now requires rails 6.1 (as opposed to 4.2.0.rc2(requires rails 6.0)).
This rails update process will take some time, so please be patient!
from spree_auth_devise.
@hoshinotsuyoshi master branch does not require rails 6.1, it's still possible to use it with rails 6.0
from spree_auth_devise.
@hoshinotsuyoshi master branch does not require rails 6.1, it's still possible to use it with rails 6.0
Oh, I'm sorry! You are right. 🙇
I've just finished trying.
from spree_auth_devise.
Spree master branch ( spree/spree@d3c0e86 ) and spree_auth_devise 4.3.1
still seems to have the same problem in my own spree app. 😭
As backtraces says;
1) Spree::User# (**masked**)
Failure/Error: let!(:user) { create(:user) }
ArgumentError:
wrong number of arguments (given 0, expected 1)
# /usr/local/bundle/gems/spree_auth_devise-4.3.0/app/models/spree/user.rb:45:in `send_confirmation_instructions'
# /usr/local/bundle/gems/devise-4.7.3/lib/devise/models/confirmable.rb:183:in `send_on_create_confirmation_instructions'
# /usr/local/bundle/gems/factory_bot-6.1.0/lib/factory_bot/evaluation.rb:18:in `create'
I want to talk about this line:
/usr/local/bundle/gems/devise-4.7.3/lib/devise/models/confirmable.rb:183:in `send_on_create_confirmation_instructions'
devise's model:
https://github.com/heartcombo/devise/blob/v4.7.3/lib/devise/models/confirmable.rb#L52
https://github.com/heartcombo/devise/blob/v4.7.3/lib/devise/models/confirmable.rb#L182-L184
the confirmable.rb line-183 #send_confirmation_instructions
is not passed any arguments.
spree_auth_devise's model:
But spree_auth_devise user.rb 's #send_confirmation_instructions
is defined as that receives one argument.
Therefore, modifying code of controller does not solve this problem, I think.
from spree_auth_devise.
I can confirm now this problem was solved! ( tested on 812ca85 , and spree4.2.0.rc5 ) 😄
Thank you for your maintaining! @damianlegawiec @aplegatt
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
- 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.