diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-07-02 18:26:55 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-07-02 18:26:55 -0300 |
commit | a4104278b5cc5a7e7b15473c1ea74125f915f2db (patch) | |
tree | ee9fd14d15d3796e354e0ad878b274a687e52faf /activemodel/test/models/user.rb | |
parent | f625b6879df4d8710c0226007dc0929ed98355d2 (diff) | |
parent | 7b1a42c05707c0e1f793bada3a448fd6f8630f5a (diff) | |
download | rails-a4104278b5cc5a7e7b15473c1ea74125f915f2db.tar.gz rails-a4104278b5cc5a7e7b15473c1ea74125f915f2db.tar.bz2 rails-a4104278b5cc5a7e7b15473c1ea74125f915f2db.zip |
Merge pull request #16024 from aditya-kapoor/include-validations
automatically include ActiveModel::Validations when include ActiveModel::SecurePassword
Diffstat (limited to 'activemodel/test/models/user.rb')
-rw-r--r-- | activemodel/test/models/user.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activemodel/test/models/user.rb b/activemodel/test/models/user.rb index cbe259b1ad..1ec6001c48 100644 --- a/activemodel/test/models/user.rb +++ b/activemodel/test/models/user.rb @@ -1,6 +1,5 @@ class User extend ActiveModel::Callbacks - include ActiveModel::Validations include ActiveModel::SecurePassword define_model_callbacks :create |