Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add ActiveRecord::Base#invalid? as the opposite of #valid? [#2159 ↵ | Jeffrey Hardy | 2009-03-08 | 1 | -0/+5 | |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Ensure validates_uniqueness_of considers limit on the field. [#1042 ↵ | Arthur Klepchukov | 2009-03-07 | 1 | -4/+4 | |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | support end-exclusive ... Ranges in SQL hash condition sanitization properly | Will Bryant | 2009-02-06 | 1 | -1/+1 | |
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1865 state:committed] | |||||
* | validate_length_of should use custom message if given when using in or within. | miloops | 2009-02-01 | 1 | -5/+4 | |
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1057 state:committed] | |||||
* | Minor refactoring of validates_associated to replace #inject with #collect + ↵ | Josh Susser | 2009-01-22 | 1 | -1/+1 | |
| | | | | | | #all? [#1686 state:committed] | |||||
* | Remove dead commented out code [#1467 state:resolved] | Yaroslav Markin | 2008-12-21 | 1 | -1/+0 | |
| | | | | Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com> | |||||
* | Merge docrails | Pratik Naik | 2008-12-19 | 1 | -3/+3 | |
| | ||||||
* | Make word separator in AR validation error messages configurable. | Akira Matsuda | 2008-12-08 | 1 | -1/+1 | |
| | | | | | | [#1294 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Merge with docrails | Pratik Naik | 2008-12-07 | 1 | -7/+9 | |
| | ||||||
* | Merge docrails | Pratik Naik | 2008-10-05 | 1 | -4/+64 | |
| | ||||||
* | Ignore all exceptions for validates_acceptance_of columns fetch so it can ↵ | Tarmo Tänav | 2008-09-26 | 1 | -1/+1 | |
| | | | | | | run even without a database connection Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Change all calls to String#chars to String#mb_chars. | Manfred Stienstra | 2008-09-21 | 1 | -1/+1 | |
| | ||||||
* | Merge docrails | Pratik Naik | 2008-09-13 | 1 | -42/+55 | |
| | ||||||
* | Remove the .to_s fix in validates_uniqueness_of, as Chars get quoted correctly. | Michael Koziarski | 2008-09-11 | 1 | -1/+1 | |
| | ||||||
* | Fixes validates_uniquness_of problem with case insensitive string containing ↵ | wmoxam | 2008-09-11 | 1 | -1/+1 | |
| | | | | | | newline characters Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Merge docrails | Pratik Naik | 2008-09-03 | 1 | -1/+1 | |
| | ||||||
* | More symbols for send and respond_to?. | Clemens Kofler | 2008-09-03 | 1 | -3/+3 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | translates when a message symbol has been set on builtin validations | Iain Hecker | 2008-08-31 | 1 | -1/+2 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Make case insensitive validates_uniqueness_of use unicode aware downcase method. | Eugene Pimenov | 2008-08-29 | 1 | -1/+1 | |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Merge branch 'master' into i18n | Sven Fuchs | 2008-08-21 | 1 | -5/+4 | |
|\ | ||||||
| * | Fixed validates_uniqueness_of with decimal columns | Tarmo Tänav | 2008-08-15 | 1 | -5/+4 | |
| | | | | | | | | | | | | Only use special case-sensitive comparison operators for text columns in validates_uniqueness_of as mysql can fail at decimal comparisons with the BINARY operator. | |||||
* | | Custom error messages scope improved | Iain Hecker | 2008-08-21 | 1 | -14/+14 | |
| | | ||||||
* | | Added :value as interpolation variable available to error messages | Iain Hecker | 2008-08-20 | 1 | -8/+10 | |
| | | ||||||
* | | Introduced AR::Base.human_name to validations | Iain Hecker | 2008-08-20 | 1 | -1/+1 | |
| | | ||||||
* | | Cleaned up ActiveRecord i18n scoping | Iain Hecker | 2008-08-14 | 1 | -55/+65 | |
| | | ||||||
* | | provide more useful feedback on missing translations for validation error ↵ | Sven Fuchs | 2008-08-13 | 1 | -1/+1 | |
| | | | | | | | | messages | |||||
* | | update i18n usage for pluralization hashes (api change) | Sven Fuchs | 2008-08-10 | 1 | -1/+1 | |
|/ | ||||||
* | Fix file permissions | Tarmo Tänav | 2008-07-31 | 1 | -0/+0 | |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | validates_uniqueness_of uses database case sensitivity support instead of ↵ | Tarmo Tänav | 2008-07-31 | 1 | -27/+15 | |
| | | | | | | using ruby Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Cast value to string in validates_uniqueness_of if the column is of text type | Tarmo Tänav | 2008-07-31 | 1 | -1/+7 | |
| | | | | | | This fixes an error for postgresql where "text_column = 100" fails in version 8.3 Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Ensure checked value is a string when validating case-sensitive uniqueness ↵ | Tom Ward | 2008-07-19 | 1 | -1/+1 | |
| | | | | | | [#361 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Merge branch 'master' into i18n-merge | Jeremy Kemper | 2008-07-17 | 1 | -22/+22 | |
|\ | | | | | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/form_options_helper.rb activerecord/lib/active_record/validations.rb | |||||
| * | Merge with docrails. | Pratik Naik | 2008-07-16 | 1 | -24/+24 | |
| | | ||||||
* | | missed to remove a call to to_s while resolving conflicts in validations.rb | Sven Fuchs | 2008-07-16 | 1 | -1/+1 | |
| | | ||||||
* | | merge forward to current rails/master | Sven Fuchs | 2008-07-16 | 1 | -9/+14 | |
|\| | ||||||
| * | Allow Infinity (1.0/0.0) to pass validates_numericality_of. [#354 ↵ | Chris Cherry | 2008-07-09 | 1 | -1/+1 | |
| | | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | Add :tokenizer option to validates_length_of. [#507 state:resolved] | David Lowenfels | 2008-07-04 | 1 | -6/+10 | |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | | Updated ActiveRecord::Errors#default_error_messages deprecation warning ↵ | Luca Guidi | 2008-07-07 | 1 | -1/+1 | |
| | | | | | | | | according to i18n changes | |||||
* | | align with changes in i18n | Sven Fuchs | 2008-07-06 | 1 | -3/+2 | |
| | | ||||||
* | | use :default for human_attribute_name | Sven Fuchs | 2008-07-04 | 1 | -1/+1 | |
| | | ||||||
* | | remove core extensions in favor of I18n#translate and I18n#localize | Sven Fuchs | 2008-07-02 | 1 | -3/+3 | |
| | | ||||||
* | | rather cosmetic improvements of test coverage | Sven Fuchs | 2008-06-23 | 1 | -4/+4 | |
| | | ||||||
* | | incorporate #translate usage with several default keys | Sven Fuchs | 2008-06-21 | 1 | -3/+16 | |
| | | | | | | | | | | (use first default key that resolves to a translation). this might, depending on the backend implementation save some expensive lookups (like db lookups) | |||||
* | | rename Backend::Simple#add_translations to set_translations | Sven Fuchs | 2008-06-20 | 1 | -1/+1 | |
| | | | | | | | | because it overwrites existing translations | |||||
* | | make ActiveRecord::Errors.default_error_messages look up translated error ↵ | Sven Fuchs | 2008-06-19 | 1 | -26/+7 | |
| | | | | | | | | messages | |||||
* | | integrating I18n into Rails | Sven Fuchs | 2008-06-19 | 1 | -76/+108 | |
|/ | ||||||
* | Simplify ActiveRecord::Base#update_attribute | Pratik Naik | 2008-06-07 | 1 | -9/+0 | |
| | ||||||
* | Substitute value into validates_format_of message | John D. Hume | 2008-05-31 | 1 | -1/+1 | |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Merge docrails. | Pratik Naik | 2008-05-25 | 1 | -2/+2 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Fix validates_uniqueness_of for SQL keywords [#23 state:resolved] | Alex MacCaw | 2008-05-11 | 1 | -1/+1 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> |