cache-money icon indicating copy to clipboard operation
cache-money copied to clipboard

ActiveRecord::MissingAttributeError

Open rjaswal opened this issue 15 years ago • 2 comments

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.

rjaswal avatar Jan 22 '10 17:01 rjaswal

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.

mhorbul avatar Jan 30 '10 00:01 mhorbul

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?

gdagley avatar Mar 03 '10 22:03 gdagley