Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Move validator, human_name and human_attribute_name to ActiveModel, remove ↵ | José Valim | 2009-10-20 | 1 | -89/+0 | |
| | | | | | | deprecated error messages and add i18n_scope and lookup_ancestors. Signed-off-by: Carl Lerche <carllerche@mac.com> | |||||
* | Callbacks, DeprecatedCallbacks = NewCallbacks, Callbacks | Joshua Peek | 2009-10-12 | 1 | -7/+7 | |
| | ||||||
* | Changed ActiveRecord to use new callbacks and speed up observers by only ↵ | José Valim | 2009-09-08 | 1 | -30/+5 | |
| | | | | | | notifying events that are actually being consumed. Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | allow ActiveRecord#RecordInvalid exception message to be localized | Sven Fuchs | 2009-08-26 | 1 | -1/+2 | |
| | | | | | | [#2754 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Merge docrails | Pratik Naik | 2009-07-25 | 1 | -1/+1 | |
| | ||||||
* | Simplify AMo validation attribute reader | Joshua Peek | 2009-06-17 | 1 | -4/+0 | |
| | ||||||
* | Update for Active Model yielding per error not per attribute | Jeremy Kemper | 2009-06-08 | 1 | -0/+1 | |
| | ||||||
* | AS::Concern redefines "include" to lazy include modules as dependencies | Joshua Peek | 2009-05-29 | 1 | -2/+2 | |
| | ||||||
* | AS::Concern includes InstanceMethods module if it exists | Joshua Peek | 2009-05-29 | 1 | -2/+0 | |
| | ||||||
* | Merge branch 'master' into active_model | Joshua Peek | 2009-05-29 | 1 | -10/+12 | |
|\ | | | | | | | | | | | | | | | | | | | | | Conflicts: activemodel/lib/active_model/core.rb activemodel/test/cases/state_machine/event_test.rb activemodel/test/cases/state_machine/state_transition_test.rb activerecord/lib/active_record/validations.rb activerecord/test/cases/validations/i18n_validation_test.rb activeresource/lib/active_resource.rb activeresource/test/abstract_unit.rb | |||||
| * | Break up DependencyModule's dual function of providing a "depend_on" DSL and ↵ | Joshua Peek | 2009-05-28 | 1 | -1/+1 | |
| | | | | | | | | "included" block DSL into separate modules. But, unify both approaches under AS::Concern. | |||||
| * | Missing 1.8.7 backport extensions | Jeremy Kemper | 2009-05-18 | 1 | -0/+2 | |
| | | ||||||
| * | Cherry-pick core extensions | Jeremy Kemper | 2009-05-13 | 1 | -3/+2 | |
| | | ||||||
| * | Use DependencyModule for included hooks in ActiveRecord | Bryan Helmkamp | 2009-05-11 | 1 | -8/+7 | |
| | | ||||||
| * | Explicitly require builder for to_xml | Jeremy Kemper | 2009-04-30 | 1 | -0/+2 | |
| | | ||||||
* | | Deprecate Model#validate/validate_on_create/validate_on_update. Use ↵ | Pratik Naik | 2009-03-21 | 1 | -13/+14 | |
| | | | | | | | | Model.validate :method and likewise | |||||
* | | Move validate_on_create and validate_on_update from ActiveModel to ActiveRecord | Pratik Naik | 2009-03-21 | 1 | -2/+12 | |
| | | ||||||
* | | Add I18n translations to ActiveModel and move more AR specific parts to ↵ | Pratik Naik | 2009-03-20 | 1 | -0/+115 | |
| | | | | | | | | ActiveRecord::Validations | |||||
* | | Include ActiveModel::Validations from ActiveRecord::Validations | Pratik Naik | 2009-03-20 | 1 | -20/+29 | |
| | | ||||||
* | | Move uniqueness and association validations to Active Record | Pratik Naik | 2009-03-19 | 1 | -0/+5 | |
| | | ||||||
* | | Move all the Active Record validations to Active Model | Pratik Naik | 2009-03-19 | 1 | -1001/+2 | |
|/ | ||||||
* | Merge docrails | Pratik Naik | 2009-03-16 | 1 | -1/+1 | |
| | ||||||
* | Fix spelling of an internal method [#1734 state:resolved] | Chris Kampmeier | 2009-03-12 | 1 | -1/+1 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | 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 | |
|/ |