aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #18439 from mokhan/validates-acceptance-of-arraySean Griffin2015-01-123-2/+18
|\
| * allow '1' or true for acceptance validation.mo khan2015-01-103-2/+18
* | Fix error messages scope [skip ci]Anton Davydov2015-01-121-2/+2
* | Merge pull request #18454 from claudiob/test-on-option-for-amv-callbacksCarlos Antonio da Silva2015-01-111-0/+26
|\ \
| * | Add test for AM::Validation::Callbacks with :onclaudiob2015-01-111-0/+26
| |/
* / Remove unused "deprecated_reload" methodclaudiob2015-01-111-4/+0
|/
* 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-043-37/+5
* Merge pull request #17227 from claudiob/explicitly-abort-callbacksRafael Mendonça França2015-01-035-11/+44
|\
| * Add config to halt callback chain on return falseclaudiob2015-01-021-7/+9
| * Deprecate `false` as the way to halt AM callbacksclaudiob2015-01-023-6/+15
| * Deprecate `false` as the way to halt AM validation callbacksclaudiob2015-01-023-6/+28
| * 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
* | Update copyright notices to 2015 [ci skip]Arun Agrawal2014-12-312-2/+2
* | Use more semantic method to check passwordRohit Arondekar2014-12-301-1/+1
* | Require Ruby 2.2 for Rails 5.0claudiob2014-12-261-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
* | - Fixed unused variableVipul A M2014-12-211-3/+2
|/
* Add AM test: after/around callback returning falseclaudiob2014-12-141-4/+15
* Add AM test for after_validation returning falseclaudiob2014-12-141-2/+13
* Pass through the `prepend` option to `AS::Callback`Godfrey Chan2014-12-122-2/+38
* 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
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-292-3/+3
* Bump required Ruby version to 2.1.0claudiob2014-11-281-1/+1
* Start Rails 5 development :tada:Rafael Mendonça França2014-11-282-64/+4
* 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
* Remove redundant require of fileAdam892014-11-011-1/+0
* 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-142-0/+13
* 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
* | Merge pull request #17088 from robin850/jruby-devRafael Mendonça França2014-10-011-0/+1
|\ \
| * | Follow up to #16613Robin Dupret2014-09-281-0/+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