Upgraded to rails 4.0.2 from 4.0.1 and kept other gems the same including devise. Now users cant update account. raises error above. Note nothing changed in my code. Might be a bug with 4.0.2. I'm using ruby 2.0.0. About to test with rails 4.1.0 beta.
I reverted to 4.0.1 and tried 4.1.0 beta and still have the same problem.
Can you provide a sample application or gist that reproduces the issue? Otherwise there's no way for us to figure it out. Thanks.
fixed the issue