Since in a short time my rail applications cause the following runtime error in the test suite:
RuntimeError: Declare either attr_protected or attr_accessible for User, but not both.
This was probably introduced by the update for restful_authentication. But scanning the code for "attr_protected" shows that it is never called. So why is this error message?
My user model has only the following code:
attr_accessible :login, :email, :name, :password, :password_confirmation, :identity_url
So should it be all right? Any clues where to look for the problem? A google search shows a few strangers who also see this problem only in a test environment and sporadically in a development environment.
source
share