aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model
Commit message (Expand)AuthorAgeFilesLines
* edit pass over all warningsXavier Noria2014-10-281-2/+10
* Prefix internal method with _Rafael Mendonça França2014-10-252-2/+2
* Add #key? to ActiveModel::ErrorsGarry Shutler2014-10-141-0/+2
* Merge pull request #16409 from justinweiss/update_validation_context_document...Zachary Scott2014-10-033-9/+16
|\
| * Add a note on custom validation contexts.Justin Weiss2014-08-053-9/+16
* | fix typo in in define_model_callbacks comment [ci skip]Ryan Selk2014-10-031-1/+1
* | add notes for `define_model_callbacks` [ci skip]Kuldeep Aggarwal2014-10-031-0/+3
* | Disallow appended newlines when parsing as integerMichael Genereux2014-10-021-1/+1
* | Refactor callback setup in to use lambda instead of evalPablo Herrero2014-09-302-3/+5
* | Reduce allocations when running AR callbacks.Pete Higgins2014-09-282-2/+2
* | Preparing for 4.2.0.beta2 releaseRafael Mendonça França2014-09-261-1/+1
* | Move the array to a constantGodfrey Chan2014-09-231-3/+4
* | Update error message for validate methodPrathamesh Sonpatki2014-09-201-1/+6
* | use `allow_blank` option insteadKuldeep Aggarwal2014-09-141-1/+1
* | Refer to the library name instead of the constantRobin Dupret2014-08-301-1/+1
* | Merge branch 'master' of github.com:rails/railsDavid Heinemeier Hansson2014-08-293-11/+9
|\ \
| * \ Merge pull request #16661 from edogawaconan/doc-fixYves Senn2014-08-271-1/+1
| |\ \
| | * | Update documentation to match change in #5942 [ci skip]edogawaconan2014-08-241-1/+1
| * | | Use ActiveSupport::Concern instead of the traditinal wayYukio Mizuta2014-08-251-7/+7
| |/ /
| * | Using `each_with_object` instead of `reduce`Attila Domokos2014-08-221-2/+2
| * | Replacing an each with reduceAttila Domokos2014-08-211-4/+2
* | | Preparing for 4.2.0.beta1 releaseDavid Heinemeier Hansson2014-08-191-1/+1
|/ /
* | Check attributes passed to create_with and whereRafael Mendonça França2014-08-181-0/+1
* | No need to check model_name anymoreRafael Mendonça França2014-08-171-4/+2
* | Merge pull request #15889 from carnesmedia/model-nameRafael Mendonça França2014-08-176-8/+12
|\ \
| * | Use #model_name on instances instead of classesAmiel Martin2014-06-246-8/+12
* | | Don't expose these new APIs yet (added in 877ea78 / #16189)Godfrey Chan2014-08-161-14/+15
* | | Implement `_was` and `changes` for in-place mutations of AR attributesSean Griffin2014-08-161-3/+16
* | | Allow password to contain spaces only.Yevhene Shemet2014-08-061-2/+2
| |/ |/|
* | Call public methods rather than class_eval'ingCarlos Antonio da Silva2014-08-051-4/+2
* | Fix example code of `EachValidator` [ci skip]Chun-wei Kuo2014-07-281-1/+1
* | %i doesn't work on 1.9Aaron Patterson2014-07-171-1/+1
* | check for valid options in validate methodsonnym2014-07-171-0/+6
* | Make restore_attributes publicRafael Mendonça França2014-07-171-5/+5
* | Deprecate `reset_#{attribute}` in favor of `restore_#{attribute}`.Rafael Mendonça França2014-07-151-4/+12
* | Deprecate ActiveModel::Dirty#reset_changes in favor of #clear_changes_informa...Rafael Mendonça França2014-07-151-4/+12
* | [ci skip] Little bit doc code improvement.Santosh Wadghule2014-07-141-1/+1
* | Only automatically include validations when enabledGodfrey Chan2014-07-021-1/+2
* | automatically include ActiveModel::Validations when include ActiveModel::Secu...Aditya Kapoor2014-07-031-0/+1
* | Silence warning emitted in testsSean Griffin2014-07-011-0/+1
* | Rename rollback_changes to undo_changesRafael Mendonça França2014-06-301-3/+3
* | Add CHANGELOG entry for #14861 and document private methods on the APIRafael Mendonça França2014-06-301-5/+5
* | Merge pull request #14861 from igor04/dirty-rollbackRafael Mendonça França2014-06-301-0/+17
|\ \
| * | Added rollback method to ActiveModel::Dirtyigor042014-06-231-0/+17
* | | We are talking about the libraries, not the constantsSean Griffin2014-06-271-3/+3
* | | Note that `_will_change!` is no longer needed for AR instancesSean Griffin2014-06-271-3/+5
* | | Merge pull request #15834 from rmehner/allow_proc_and_symbol_for_only_integerRafael Mendonça França2014-06-261-1/+13
|\ \ \ | |_|/ |/| |
| * | `only_integer` of `NumericalityValidator` now allows procs and symbolsRobin Mehner2014-06-221-1/+13
* | | Delegate #model_name method to self.classYuki Nishijima2014-06-221-0/+6
|/ /
* | :scissors: and :nail_care: from d60c405 [ci skip]Zachary Scott2014-06-161-3/+3