Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | drop variable assignment in validations | Vipul A M | 2013-03-27 | 1 | -2/+1 |
| | |||||
* | Fix syntax error with no US-ASCII char | Rafael Mendonça França | 2012-09-28 | 1 | -1/+1 |
| | |||||
* | update AR::Validations documentation [ci skip] | Francesco Rodriguez | 2012-09-22 | 1 | -11/+12 |
| | |||||
* | Remove mass_assignment_options from ActiveRecord | Guillermo Iguaran | 2012-09-16 | 1 | -3/+3 |
| | |||||
* | AR has a subclass of AM:PresenceValidator. | Brent Wheeldon & Nick Monje | 2012-07-20 | 1 | -0/+1 |
| | | | | | | | This allows us to mark the parent object as invalid if all associated objects in a presence validated association are marked for destruction. See: https://github.com/rails/rails/issues/6812 | ||||
* | Allow translations of activerecord.errors.messages.record_invalid to be ↵ | Christopher Dell | 2012-03-05 | 1 | -1/+1 |
| | | | | looked up in errors.messages.record_invalid | ||||
* | Remove extra white spaces on ActiveRecord docs. | Sebastian Martinez | 2011-05-23 | 1 | -1/+1 |
| | |||||
* | updated AR#create! to accept an options hash so the mass-assignment security ↵ | Josh Kalderimis | 2011-05-12 | 1 | -3/+3 |
| | | | | role can be passed in, also updated the Changelog to mention the change to some of the AR method signatures. | ||||
* | Better formatting here | Sebastian Martinez | 2011-04-24 | 1 | -3/+3 |
| | |||||
* | copy-edits 8d96b89 | Xavier Noria | 2011-02-21 | 1 | -7/+7 |
| | |||||
* | Typo: fixing the the | Nicholas Rowe | 2011-02-19 | 1 | -1/+1 |
| | |||||
* | Clarification of ActiveRecord ActiveModel validation documentation | Peer Allan | 2011-02-18 | 1 | -1/+15 |
| | |||||
* | ActiveRecord#save(false) is now deprecated, now it is save(:validate => false) | Jaime Iniesta | 2011-01-18 | 1 | -1/+1 |
| | |||||
* | Partialy revert f1c13b0dd7b22b5f6289ca1a09f1d7a8c7c8584b | José Valim | 2010-11-28 | 1 | -1/+1 |
| | |||||
* | use persisted? instead of new_record? wherever possible | David Chelimsky | 2010-11-09 | 1 | -1/+1 |
| | | | | | | | | | | | - persisted? is the API defined in ActiveModel - makes it easier for extension libraries to conform to ActiveModel APIs without concern for whether the extended object is specifically ActiveRecord [#5927 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Refactor AR validations a bit | Carlos Antonio da Silva | 2010-09-06 | 1 | -5/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Cleanup deprecation warnings in active record | Carlos Antonio da Silva | 2010-09-06 | 1 | -12/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Merge remote branch 'rails/master' | Xavier Noria | 2010-06-20 | 1 | -2/+2 |
|\ | | | | | | | | | Conflicts: actionpack/lib/abstract_controller/base.rb | ||||
| * | moving before_validation and after_validation functionality from ↵ | Neeraj Singh | 2010-06-19 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | ActiveRecord to ActiveModel [#4653 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | Adds title to the rest of the files in activerecord/lib | Rizwan Reza | 2010-06-16 | 1 | -0/+3 |
|/ | |||||
* | Remove undocumented save_without_validation! | Pratik Naik | 2010-05-11 | 1 | -4/+0 |
| | |||||
* | Succint save definition | Pratik Naik | 2010-05-11 | 1 | -4/+2 |
| | |||||
* | Make sure valid? preceives the context as in ActiveModel API (ht: Carlos ↵ | José Valim | 2010-05-10 | 1 | -25/+22 |
| | | | | Antonio) | ||||
* | eliminate alias_method_chain from ActiveRecord | wycats | 2010-05-09 | 1 | -41/+30 |
| | |||||
* | updated AR to work with the AMo model validation changes | Josh Kalderimis | 2010-05-08 | 1 | -1/+5 |
| | |||||
* | Drop AR I18n deprecation and simple use errors.messages as fallback. | José Valim | 2010-01-30 | 1 | -2/+2 |
| | |||||
* | save(false) is gone, use save(:validate => false) instead. | José Valim | 2010-01-17 | 1 | -1/+11 |
| | |||||
* | Errors messages are now moved from :activerecord.errors to simply :errors on ↵ | José Valim | 2010-01-07 | 1 | -1/+1 |
| | | | | I18n yml files. | ||||
* | Get rid of DeprecatedCallbacks in ActiveRecord::Associations and finally ↵ | José Valim | 2009-12-30 | 1 | -2/+0 |
| | | | | remove it. | ||||
* | Integer#even? and Integer#odd? are not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -2/+0 |
| | |||||
* | 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 |
| | |