devise icon indicating copy to clipboard operation
devise copied to clipboard

ArgumentError (undefined class/module User)

Open frankjmattia opened this issue 16 years ago • 8 comments

http://github.com/frankjmattia/example

I'm not sure if this is an error with class caching or if this is a Devise problem.

Setting config.cache_classes = true will solve the problem but I don't know how to prove where the root of the problem lies.

frankjmattia avatar Jun 24 '10 13:06 frankjmattia

It was reported that a recent comment in Rails broke Devise. I'm investigating, thanks!

josevalim avatar Jun 24 '10 13:06 josevalim

I've seen this too. According to git bisect, it was this one: http://github.com/rails/rails/commit/49f52c3d910c8f183afc3a54ea2ae9667f23085e

bodhi avatar Jun 24 '10 14:06 bodhi

I tried to fixed it in the latest Rails commit. Could you please try it out and close this if it was fixed? Thanks!

josevalim avatar Jun 24 '10 18:06 josevalim

Works for me! Where do I send you beer for fixing this so quickly?!?

nragaz avatar Jun 24 '10 18:06 nragaz

:D I don't drink, but you can send two masseurs, this bug really got me tired. :(

josevalim avatar Jun 24 '10 18:06 josevalim

Is not drinking your secret to massive productivity?

Full ack on bugs in new Rails commits = tired.

nragaz avatar Jun 24 '10 18:06 nragaz

Hahahaha :D

josevalim avatar Jun 24 '10 18:06 josevalim

You sir, are awesome. If you're ever in the South Jersey/Philly region give me some advanced notice and you'll have your two masseurs. That's a promise.

frankjmattia avatar Jun 24 '10 18:06 frankjmattia