Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActiveRecord::MissingAttributeError #15

Open
rjaswal opened this issue Jan 22, 2010 · 2 comments
Open

ActiveRecord::MissingAttributeError #15

rjaswal opened this issue Jan 22, 2010 · 2 comments

Comments

@rjaswal
Copy link

rjaswal commented Jan 22, 2010

Hi, i'm running passenger with nginx, i get ActiveRecord::MissingAttributeError in random areas of the code. It works fine with its running with mongrel. And i don't get the error when cache money is shut off.

@mhorbul
Copy link

mhorbul commented Jan 30, 2010

I have similar issue. But it's not only ActiveRecord::MissingAttributeError. It might be "undefined method" and other errors... I have rails 2.3.4 app running on nginx-0.7.62 with passenger 2.2.9.

@gdagley
Copy link

gdagley commented Mar 3, 2010

I am seeing a similar thing. If I do something like User.find(1) that has a nil attribute, that attribute does not show up on the object returned. If I try User.first, that same nil attribute shows up in the object returned. The difference appears to be whether the object was retrieved from the cache or directly from the database. Does this help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants