1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activemodel/test/models
Eric Hutzelman 088c11658a Fix some validators when used on model instance
Now that Validator #setup is called from the initializer, we need a
reference to the model's class to be passed in to allow the validators
to continue functioning when used at the instance level.

Closes #14134.
2014-02-26 21:35:49 -03:00
..
account.rb
automobile.rb Fix some validators when used on model instance 2014-02-26 21:35:49 -03:00
blog_post.rb
contact.rb Convert ActiveModel to 1.9 hash syntax. 2013-05-01 18:01:46 -07:00
custom_reader.rb
helicopter.rb test for ActiveModel::Conversion#to_partial_path and namespaced models 2013-01-14 21:17:22 +01:00
person.rb
person_with_validator.rb
project.rb
reply.rb Convert ActiveModel to 1.9 hash syntax. 2013-05-01 18:01:46 -07:00
sheep.rb
topic.rb Let validates_inclusion_of accept Time and DateTime ranges 2013-10-23 22:10:15 +09:00
track_back.rb
user.rb Rewrote the tests for has_secure_password 2014-01-24 19:49:30 -08:00
visitor.rb