diff options
author | Bogdan Gusiev <agresso@gmail.com> | 2011-12-22 10:57:06 +0200 |
---|---|---|
committer | Bogdan Gusiev <agresso@gmail.com> | 2011-12-22 10:57:06 +0200 |
commit | 46ec75661d00d788da40a06f6c71092250a7103e (patch) | |
tree | 2e9b783d216c49a29f6932596156bfeb477b46c7 /activemodel/test/cases/helper.rb | |
parent | 24a6609ea3a41f3ddc82f06e0ead429d01532ceb (diff) | |
download | rails-46ec75661d00d788da40a06f6c71092250a7103e.tar.gz rails-46ec75661d00d788da40a06f6c71092250a7103e.tar.bz2 rails-46ec75661d00d788da40a06f6c71092250a7103e.zip |
Fixed AM::MasAsSec.attr_protected usage example.
Problems with current example:
* DOESN'T WORK
** attr_protected :last_login, :as => :admin # doesn't make it accessible for admin
* Uses ActiveSupport Fixnum extension
Diffstat (limited to 'activemodel/test/cases/helper.rb')
0 files changed, 0 insertions, 0 deletions