diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2009-03-20 22:21:27 +0000 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2009-03-20 22:21:27 +0000 |
commit | 6173e5bfaec44729ecabc2e6e05aa2608a85981f (patch) | |
tree | d3379362c0cfb3f16867b56d1c2931bb02d12b86 /activemodel/test/models/person.rb | |
parent | 08a99d0eac9370b590220953283475e00e3183e6 (diff) | |
download | rails-6173e5bfaec44729ecabc2e6e05aa2608a85981f.tar.gz rails-6173e5bfaec44729ecabc2e6e05aa2608a85981f.tar.bz2 rails-6173e5bfaec44729ecabc2e6e05aa2608a85981f.zip |
Add ActiveModel::Validations tests for regular ruby classes
Diffstat (limited to 'activemodel/test/models/person.rb')
-rw-r--r-- | activemodel/test/models/person.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/test/models/person.rb b/activemodel/test/models/person.rb index 6f787d9d3d..d98420f900 100644 --- a/activemodel/test/models/person.rb +++ b/activemodel/test/models/person.rb @@ -1,5 +1,5 @@ class Person include ActiveModel::Validations - attr_accessor :title + attr_accessor :title, :karma end |