This website requires JavaScript.
Explore
Help
Register
Sign In
github
/
rails
Watch
1
Star
1
Fork
0
You've already forked rails
mirror of
https://github.com/github/rails.git
synced
2026-04-26 03:00:59 -04:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
02bbde4e78f958d5495c19d953aaec58bb8ef998
rails
/
activemodel
/
test
/
cases
/
validations
History
José Valim
017f5d5308
Fix typo by renaming :genre to :gender.
2010-01-09 00:18:07 +01:00
..
acceptance_validation_test.rb
No need to use ValidationsRepairHelper hack on ActiveModel anymore, Model.reset_callbacks(:validate) is enough. However, tests in ActiveRecord are still coupled, so moved ValidationsRepairHelper back there.
2009-12-23 13:30:58 +01:00
conditional_validation_test.rb
No need to use ValidationsRepairHelper hack on ActiveModel anymore, Model.reset_callbacks(:validate) is enough. However, tests in ActiveRecord are still coupled, so moved ValidationsRepairHelper back there.
2009-12-23 13:30:58 +01:00
confirmation_validation_test.rb
No need to use ValidationsRepairHelper hack on ActiveModel anymore, Model.reset_callbacks(:validate) is enough. However, tests in ActiveRecord are still coupled, so moved ValidationsRepairHelper back there.
2009-12-23 13:30:58 +01:00
exclusion_validation_test.rb
No need to use ValidationsRepairHelper hack on ActiveModel anymore, Model.reset_callbacks(:validate) is enough. However, tests in ActiveRecord are still coupled, so moved ValidationsRepairHelper back there.
2009-12-23 13:30:58 +01:00
format_validation_test.rb
No need to use ValidationsRepairHelper hack on ActiveModel anymore, Model.reset_callbacks(:validate) is enough. However, tests in ActiveRecord are still coupled, so moved ValidationsRepairHelper back there.
2009-12-23 13:30:58 +01:00
i18n_generate_message_validation_test.rb
Errors messages are now moved from :activerecord.errors to simply :errors on I18n yml files.
2010-01-07 15:31:49 +01:00
i18n_validation_test.rb
Be sure to dup load paths before clearing the array.
2010-01-07 15:31:50 +01:00
inclusion_validation_test.rb
No need to use ValidationsRepairHelper hack on ActiveModel anymore, Model.reset_callbacks(:validate) is enough. However, tests in ActiveRecord are still coupled, so moved ValidationsRepairHelper back there.
2009-12-23 13:30:58 +01:00
length_validation_test.rb
Compile length validator options still at the class level, so whenever the validator is called, it just needs to check for :maximum, :minimum and :is values.
2010-01-08 21:36:04 +01:00
numericality_validation_test.rb
No need to use ValidationsRepairHelper hack on ActiveModel anymore, Model.reset_callbacks(:validate) is enough. However, tests in ActiveRecord are still coupled, so moved ValidationsRepairHelper back there.
2009-12-23 13:30:58 +01:00
presence_validation_test.rb
No need to use ValidationsRepairHelper hack on ActiveModel anymore, Model.reset_callbacks(:validate) is enough. However, tests in ActiveRecord are still coupled, so moved ValidationsRepairHelper back there.
2009-12-23 13:30:58 +01:00
validates_test.rb
Fix typo by renaming :genre to :gender.
2010-01-09 00:18:07 +01:00
with_validation_test.rb
Add validates method as shortcut to setup validators for a given set of attributes:
2010-01-07 19:23:59 +01:00