diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-08-11 13:33:27 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-08-11 13:33:28 -0300 |
commit | ce06b8a56c5647b9b963c2331e3912fbc54e950c (patch) | |
tree | c8b31005cdb957c7100557133de8ce0028b9d65b /activemodel/test/cases/mass_assignment_security/permission_set_test.rb | |
parent | 8781b266b92785716dba37665dbe7a4700fa3018 (diff) | |
download | rails-ce06b8a56c5647b9b963c2331e3912fbc54e950c.tar.gz rails-ce06b8a56c5647b9b963c2331e3912fbc54e950c.tar.bz2 rails-ce06b8a56c5647b9b963c2331e3912fbc54e950c.zip |
Refactor model name logic and make it a real private class method
Under a "private" call, class methods are not real private methods,
they're public just like any other method.
Make model_name_from_record_or_class a private class method, and nodoc it.
Diffstat (limited to 'activemodel/test/cases/mass_assignment_security/permission_set_test.rb')
0 files changed, 0 insertions, 0 deletions