aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/validations.rb
diff options
context:
space:
mode:
authorRichard Livsey <richard@livsey.org>2013-06-07 12:41:05 +0200
committerRichard Livsey <richard@livsey.org>2013-06-07 12:41:05 +0200
commit9906eb135575ea6dd154257b8c977321c4b1adb2 (patch)
treee8683440885450ec754e909274f1688bb1ffdb3e /activemodel/lib/active_model/validations.rb
parenta68c6cccf05310546e82c4c81fe70818a454bf4e (diff)
downloadrails-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