Pratik Naik
|
4a7a14b0e1
|
Use relations to build uniqueness conditions
|
2010-01-02 03:46:08 +05:30 |
|
Jeremy Kemper
|
1b91f534ce
|
Fix uniqueness validation: with_exclusive_scope is not public
|
2009-12-28 14:06:22 -08:00 |
|
José Valim
|
74098e4cb6
|
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 |
|
José Valim
|
44cd9e0e71
|
ActiveRecord::Validations are now built on top of Validator as well.
|
2009-12-23 12:14:00 +01:00 |
|
Elise Huard
|
c5896bfd84
|
validate uniqueness with limit in utf8
[#2653 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
2009-08-09 12:50:04 -07:00 |
|
Pratik Naik
|
22ad30ed60
|
Move validate_on_create and validate_on_update from ActiveModel to ActiveRecord
|
2009-03-21 01:11:38 +00:00 |
|
Pratik Naik
|
638333b7a1
|
Move uniqueness and association validations to Active Record
|
2009-03-19 23:44:30 +00:00 |
|