diff options
author | Richard Livsey <richard@livsey.org> | 2013-06-07 12:41:05 +0200 |
---|---|---|
committer | Richard Livsey <richard@livsey.org> | 2013-06-07 12:41:05 +0200 |
commit | 9906eb135575ea6dd154257b8c977321c4b1adb2 (patch) | |
tree | e8683440885450ec754e909274f1688bb1ffdb3e /activemodel/lib/active_model/validations.rb | |
parent | a68c6cccf05310546e82c4c81fe70818a454bf4e (diff) | |
download | rails-9906eb135575ea6dd154257b8c977321c4b1adb2.tar.gz rails-9906eb135575ea6dd154257b8c977321c4b1adb2.tar.bz2 rails-9906eb135575ea6dd154257b8c977321c4b1adb2.zip |
Docfix: Use public interface instead of setting instance variables
Dynamically setting instance variables based on user input probably isn't a great idea. Better to go through the setter methods provided by attr_accessor.
Diffstat (limited to 'activemodel/lib/active_model/validations.rb')
0 files changed, 0 insertions, 0 deletions