#550 ✓resolved
Ineu

Password validation broken in 0.9.0

Reported by Ineu | November 20th, 2009 @ 09:34 AM

After upgrading from 0.8.10 to 0.9.0 password validation stopped to work. If there are errors in any field (current_password, password, password_confirmation), changing password gives such error:

undefined method `messages' for :hobo:Symbol

with such trace:

/home/ineu/.rvm/gems/ruby/1.8.7/gems/hobo-0.9.0/lib/hobo/user.rb:170:in `validate_current_password_when_changing_password'
/home/ineu/.rvm/gems/ruby/1.8.7/gems/activesupport-2.3.4/lib/active_support/callbacks.rb:178:in `send'
/home/ineu/.rvm/gems/ruby/1.8.7/gems/activesupport-2.3.4/lib/active_support/callbacks.rb:178:in `evaluate_method'
/home/ineu/.rvm/gems/ruby/1.8.7/gems/activesupport-2.3.4/lib/active_support/callbacks.rb:166:in `call'
/home/ineu/.rvm/gems/ruby/1.8.7/gems/activesupport-2.3.4/lib/active_support/callbacks.rb:90:in `run'
/home/ineu/.rvm/gems/ruby/1.8.7/gems/activesupport-2.3.4/lib/active_support/callbacks.rb:90:in `each'
/home/ineu/.rvm/gems/ruby/1.8.7/gems/activesupport-2.3.4/lib/active_support/callbacks.rb:90:in `send'
/home/ineu/.rvm/gems/ruby/1.8.7/gems/activesupport-2.3.4/lib/active_support/callbacks.rb:90:in `run'
/home/ineu/.rvm/gems/ruby/1.8.7/gems/activesupport-2.3.4/lib/active_support/callbacks.rb:276:in `run_callbacks'
/home/ineu/.rvm/gems/ruby/1.8.7/gems/activerecord-2.3.4/lib/active_record/validations.rb:1098:in `valid_without_callbacks?'
/home/ineu/.rvm/gems/ruby/1.8.7/gems/activerecord-2.3.4/lib/active_record/callbacks.rb:315:in `valid_without_lifecycles?'

Comments and changes to this ticket

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Referenced by

Pages