aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #18439 from mokhan/validates-acceptance-of-arraySean Griffin2015-01-121-2/+6
|\
| * allow '1' or true for acceptance validation.mo khan2015-01-101-2/+6
* | Fix error messages scope [skip ci]Anton Davydov2015-01-121-2/+2
|/
* Remove attributes_protected_by_default reference, since MassAssignmentSecurit...robertomiranda2015-01-091-7/+0
* removing unecessary parameter in private methodGeorge Millo2015-01-061-2/+2
* Remove unneeded requiresRafael Mendonça França2015-01-041-1/+0
* Remove deprecated `ActiveModel::Dirty#reset_#{attribute}` and `ActiveModel::D...Rafael Mendonça França2015-01-041-20/+0
* Merge pull request #17227 from claudiob/explicitly-abort-callbacksRafael Mendonça França2015-01-032-5/+3
|\
| * Deprecate `false` as the way to halt AM callbacksclaudiob2015-01-021-2/+1
| * Deprecate `false` as the way to halt AM validation callbacksclaudiob2015-01-021-3/+2
| * Throw :abort halts default CallbackChainsclaudiob2015-01-022-2/+2
* | Merge branch 'master' of github.com:rails/docrailsVijay Dev2015-01-038-10/+10
|\ \ | |/ |/|
| * Use Active Model, not ActiveModel in plain Englishclaudiob2015-01-028-10/+10
* | Use more semantic method to check passwordRohit Arondekar2014-12-301-1/+1
* | Don't calculate all in-place changes to determine if attribute_changed?Sean Griffin2014-12-221-1/+5
* | Fix inaccurate docs in active_model errors [ci skip]Robson Marques2014-12-221-2/+2
|/
* Pass through the `prepend` option to `AS::Callback`Godfrey Chan2014-12-121-1/+1
* add brackets around attribute_name_tiii2014-12-081-1/+1
* Correctly handle multiple attribute method prefix/suffixes which matchSean Griffin2014-12-041-6/+4
* Ensure numericality validations work with mutationSean Griffin2014-12-011-0/+11
* Start Rails 5 development :tada:Rafael Mendonça França2014-11-281-3/+3
* Fixing documentation in JSON#from_jsonNick Veys2014-11-201-4/+4
* [Enh] Changed the visibility of the ActiveModel::Dirty#clear_attribute_change...Daniele Di Bernardo2014-11-061-1/+1
* add missing space.[ci skip]Kuldeep Aggarwal2014-11-011-1/+1
* Prepare for 4.2.0.beta4 releaseGodfrey Chan2014-10-301-1/+1
* 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
|\ \