I have been working on updating a rails application to 4.0 and spent some time getting to the bottom of why it wasn't working.
What I found was, if a model has amethod_missingdefinition then it is called instead of any accessors. This causes any model set-up to fail.