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
bogdanvlviv 3ff2c15837
Add cases to test combining validation conditions
- Test condition that is defined by array of conditions
 - Test condition that is defined by combining :if and :unless
 - Test local condition that is defined by :if
 - Test local condition that is defined by :unless

See http://edgeguides.rubyonrails.org/active_record_validations.html#combining-validation-conditions
2017-11-06 23:07:51 +00:00
..
account.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
blog_post.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
contact.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
custom_reader.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
helicopter.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
person.rb Add cases to test combining validation conditions 2017-11-06 23:07:51 +00:00
person_with_validator.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
reply.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
sheep.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
topic.rb Add cases to test combining validation conditions 2017-11-06 23:07:51 +00:00
track_back.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
user.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
visitor.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00