title: RuntimeError: Declare either attr_protected or attr_accessible for User, but not both
body: <p>Since a short time my rails applications yields the following runtime error in the test suite:</p>
  
  <pre><code>RuntimeError: Declare either attr_protected or attr_accessible for User, but not both.
  </code></pre>
  
  <p>This was probably introduced by an update to restful_authentication. But scanning the code for "attr_protected" only shows me it is never called. So why this error message?</p>
  
  <p>My user model only has the following code:</p>
  
  <pre><code>attr_accessible :login, :email, :name, :password, :password_confirmation, :identity_url
  </code></pre>
  
  <p>So it should be perfectly okay? Any clues where to look for the problem? Searching google shows a few clueless people who also see this problem only in test environment and sporadically in the development environment.</p>