rails/activerecord/test/cases/validations
Ryuta Kamizono 811a4fa8eb Avoid a string value truncation in uniqueness validation
In MySQL, PostgreSQL, Oracle and SQLServer, a value over the limit
cannot be inserted or updated (See #23522).

In SQLite3, a value is inserted or updated regardless of the limit.

We should avoid a string value truncation in uniqueness validation.
2016-02-12 23:57:15 +09:00
..
absence_validation_test.rb AR absence validator respects marked_for_destruction?. Closes #20449. 2015-06-22 15:45:08 +02:00
association_validation_test.rb Improve support for non Active Record objects on validates_associated 2015-11-08 10:58:39 -02:00
i18n_generate_message_validation_test.rb use the new clear_validators! api everywhere to reset validators in tests 2014-01-28 00:13:35 +05:30
i18n_validation_test.rb Removed mocha from Active Record Part 1 2015-08-25 22:07:25 +05:30
length_validation_test.rb File encoding is defaulted to utf-8 in Ruby >= 2.1 2015-09-18 17:05:05 +09:00
presence_validation_test.rb Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 onwards. 2015-02-03 20:51:40 +05:30
uniqueness_validation_test.rb Avoid a string value truncation in uniqueness validation 2016-02-12 23:57:15 +09:00