
Can't create new user due to "not confirmed" error
Reported by divineforest | March 23rd, 2009 @ 07:01 AM
authlogic 2.0.0 rails 2.3.2
When I try to create a new user with this controller action:
def create
@user = User.new(params[:user])
@user.email_confirmed = false
if @user.save
@user.deliver_email_confirmation_instructions
redirect_to new_user_session_url
else
render :action => :new
end
end
I get the following error: Authlogic::Session::Existence::SessionInvalidError in MerchantsController#create
Your session is invalid and has the following errors: Your account is not confirmed
The trace is:
/Users/divineforest/Sites/mmanager/vendor/plugins/authlogic/lib/authlogic/session/existence.rb:83:in
save!'
/Users/divineforest/Sites/mmanager/vendor/plugins/authlogic/lib/authlogic/session/existence.rb:36:in
create!'
/Users/divineforest/Sites/mmanager/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/session_maintenance.rb:101:in
create_session'
/Users/divineforest/Sites/mmanager/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/session_maintenance.rb:91:in
maintain_sessions'
/Users/divineforest/Sites/mmanager/vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in
send'
/Users/divineforest/Sites/mmanager/vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in
evaluate_method'
/Users/divineforest/Sites/mmanager/vendor/rails/activesupport/lib/active_support/callbacks.rb:166:in
call'
/Users/divineforest/Sites/mmanager/vendor/rails/activesupport/lib/active_support/callbacks.rb:93:in
run'
/Users/divineforest/Sites/mmanager/vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in
each'
/Users/divineforest/Sites/mmanager/vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in
send'
/Users/divineforest/Sites/mmanager/vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in
run'
/Users/divineforest/Sites/mmanager/vendor/rails/activesupport/lib/active_support/callbacks.rb:276:in
run_callbacks'
/Users/divineforest/Sites/mmanager/vendor/rails/activerecord/lib/active_record/callbacks.rb:344:in
callback'
/Users/divineforest/Sites/mmanager/vendor/rails/activerecord/lib/active_record/callbacks.rb:249:in
create_or_update'
/Users/divineforest/Sites/mmanager/vendor/rails/activerecord/lib/active_record/base.rb:2539:in
save_without_validation'
/Users/divineforest/Sites/mmanager/vendor/rails/activerecord/lib/active_record/validations.rb:1009:in
save_without_dirty'
/Users/divineforest/Sites/mmanager/vendor/rails/activerecord/lib/active_record/dirty.rb:79:in
save_without_transactions'
/Users/divineforest/Sites/mmanager/vendor/rails/activerecord/lib/active_record/transactions.rb:229:in
send'
/Users/divineforest/Sites/mmanager/vendor/rails/activerecord/lib/active_record/transactions.rb:229:in
with_transaction_returning_status'
/Users/divineforest/Sites/mmanager/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in
transaction'
/Users/divineforest/Sites/mmanager/vendor/rails/activerecord/lib/active_record/transactions.rb:182:in
transaction'
/Users/divineforest/Sites/mmanager/vendor/rails/activerecord/lib/active_record/transactions.rb:228:in
with_transaction_returning_status'
/Users/divineforest/Sites/mmanager/vendor/rails/activerecord/lib/active_record/transactions.rb:196:in
save'
/Users/divineforest/Sites/mmanager/vendor/rails/activerecord/lib/active_record/transactions.rb:208:in
rollback_active_record_state!'
/Users/divineforest/Sites/mmanager/vendor/rails/activerecord/lib/active_record/transactions.rb:196:in
save'
/Users/divineforest/Sites/mmanager/app/controllers/merchants_controller.rb:13:in
create'
Comments and changes to this ticket
-
-
-
Ben Johnson March 23rd, 2009 @ 01:35 PM
- State changed from new to resolved
This is fixed, thanks for letting me know about this.
-
divineforest March 24th, 2009 @ 12:03 PM
Thanks, but it still doesn't work. I can't see any commit about the issue.
-
-
-
jamin252 January 31st, 2019 @ 11:51 PM
The issue is most likely related to if your account is Verified. There is still a bug Tellthebell
-
wijju123 February 17th, 2019 @ 12:51 AM
Well, the same problem i was facing and then I register a complaint online and their he said me to reset the account credentials then i receive a new email and now it is working perfectly fine. What I think is your problem is that your account is not verified and you need to verify if you need more guidance you can contact SEO Expert In Islamabad
-
-
Hamza Khan May 24th, 2019 @ 01:14 PM
This helped as I was facing the same issue.
dairy queen feedback
Gcu student login
krogerfeedback
login to Citi remote office
seo services in Pakistan -
ethan k August 10th, 2019 @ 04:58 AM
i had the same issue after that I register a complaint online and their he said me to reset the account credentials then i got a new email and now it is working perfectly fine. What I think is your problem is that your account is not verified.
Xpectations -
patricia robert August 19th, 2019 @ 03:50 PM
thank you for the detailed post. that was really helping
http://24x7loginhelp.com -
-
ethan k August 25th, 2019 @ 10:28 AM
I have reset the account credentials then i received a new email and now it is working perfectly fine.
xpectations doosan passport fieldnet login -
Mike S September 13th, 2019 @ 02:53 PM
Yeah i also faced the same issue :/ please somebody help me.
price chopper direct connect login -
-
-
Alis James December 11th, 2019 @ 11:49 AM
Hey thanks for sharing this and I would like to inform you that there is a customer feedback survey named as KrogerFeedback and you can take part in this customer survey and can enter in a chance to win exciting prizes KrogerFeedback
-
aldrichstephen December 13th, 2019 @ 12:44 AM
The world is getting warmer and so are our lives. Just like we take measures to beat the increasing heat, stop the growing heat in your body and do meet the passion for more delicious sweets by tasting the products of Dairy Queen, which includes: Ice creams, desserts, and even milkshakes. Do Visit: dairy queen survey website
-
Anne December 19th, 2019 @ 12:20 PM
I have registered a complaint online and their he said me to reset the account credentials then i got a new email and now it is working perfectly fine. What I think is your problem is that your account is not verified.
-
-
youngs boys1 December 23rd, 2019 @ 12:16 PM
Lighthouse page is a best website I read so many blogs and forums on this website. This page used to slove the software code problems and troubleshooting. Thanks for sharing
The Ignition app is designed for games. Ignition app is a third party app its easy to download all games app. I love this app. I really enjoy downloading a games fastly on our devices Click more information
-
Anne January 25th, 2020 @ 01:20 AM
Keep up the Great work, best information, Good work ain't cheap and cheap work ain't good. NCSECU
Value added to our knowledge which meet our xpectationsheb survey bobevanslistens pandaexpresssurvey caffe nero survey Albertsons survey longhorn survey tellcharley survey
-
Anne March 17th, 2020 @ 11:01 AM
The way you work makes me realize that sooner you will be able to reach heights of success.
keep up the good work.
Value added to our knowledge which meet our xpectationsVery useful information. You always bring the best out of you and I appreciate it! price chopper direct connect
-
Anne April 2nd, 2020 @ 05:08 PM
- Tag set to technology
The way you work makes me realize that sooner you will be able to reach heights of success.
keep up the good work.
Value added to our knowledge which meet our xpectationsVery useful information. You always bring the best out of you and I appreciate it! price chopper direct connect
-
Anne April 21st, 2020 @ 12:05 PM
The way you work makes me realize that sooner you will be able to reach heights of success.
keep up the good work.
Greggs Survey Value added to our knowledge which meet our xpectationsVery useful information. You always bring the best out of you and I appreciate it! price chopper direct connect
-
Mike S May 7th, 2020 @ 11:15 AM
Nice.The way you work makes me realize that sooner you will be able to reach heights of success.
keep up the good work.
Greggs Survey Value added to our knowledge which meet our xpectationsVery useful information. You always bring the best out of you and I appreciate it! price chopper direct connect
-
Anne May 17th, 2020 @ 08:32 PM
The way you work makes me realize that sooner you will be able to reach heights of success.
keep up the good work.
Greggs Survey Value added to our knowledge which meet our xpectationsVery useful information. You always bring the best out of you and I appreciate it! price chopper direct connect
You don’t wanna miss the tropicana summer promotion
-
Anne June 23rd, 2020 @ 01:01 PM
Very useful information. You always bring the best out of you and I appreciate it! price chopper direct connect
You don’t wanna miss the tropicana summer promotion
-
Anne June 23rd, 2020 @ 01:02 PM
The way you work makes me realize that sooner you will be able to reach heights of success.
keep up the good work.
Greggs Survey Value added to our knowledge which meet our xpectations -
ethan k June 24th, 2020 @ 10:38 AM
Very useful information. You always bring the best out of you and I appreciate it! price chopper direct connect
pointclickcare login -
Philips July 17th, 2020 @ 02:30 AM
Very nice & knowledgeable post all features are defined in a good way for more detail visit bitly.com thanks
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Object based authentication solution that handles all of the non sense for you. It's as easy as ActiveRecord is with a database.