Commit Graph

2 Commits

Author SHA1 Message Date
Erich Menge f021377358 Updated tests for has_secure_password. 2012-05-08 18:08:55 -05:00
Tsutomu Kuroda ad31549ab3 Override attributes_protected_by_default when has_secure_password is called.
attr_protected should not be called, because it nullifies the
mass assignment protection that has been set by attr_accessible.

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-02-09 18:35:15 -02:00