From the plugin changelog:
* Removed attr_protected declaration from acts_as_authorized_user,
acts_as_authorizable methods. These conflicted with usage of the
Authorization plugin with models generated by the
restful_authentication generator or any model that specified the safer
attr_accessible whitelist. RA encourages the safer attr_accessible
whitelisting of attributes that are accessible from its models. You
cannot apply both attr_accessible and attr_protected in the same
model. Users are encouraged to specify a whitelist of attr_accessible
model attributes for their applications security.
Here is a little more background:
http://somethinglearned.com/articles/2006/05/24/best-practices-a-strong-case-for-attr_accessible-part-2
Cheers
On Jun 26, 12:50 am, Melissa Verduci <
spacem...@googlemail.com> wrote:
> Yes I did, It worked, but now I have another problem :
> Declare either attr_protected or attr_accessible for User, but not both.
>
> Do you know where it can come frome ?
>
> 2009/6/25 erwin <
yves_duf...@mac.com>