aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #18388 from claudiob/better-docs-for-active-model-lint-testsRafael Mendonça França2015-02-061-28/+32
|\
| * Better docs for AM::Lint::Testsclaudiob2015-01-071-28/+32
* | revises AM:Dirty example [Godfrey Chan & Xavier Noria]Xavier Noria2015-02-061-6/+2
* | use parentheses here, for the beard of the Prophet! [ci skip]Xavier Noria2015-02-061-1/+1
* | applies guidelines to dirty.rb [ci skip]Xavier Noria2015-02-061-11/+11
* | Wrap method arguments with parentheses in docsCarlos Antonio da Silva2015-02-031-1/+1
* | Person class doesn't contain finder methods, hence usage of Person.find_by is...Vipul A M2015-02-031-1/+5
* | Fix validations on child record when record parent has validate: falseeileencodes2015-02-011-0/+4
* | Move required error message and changelog to Active RecordCarlos Antonio da Silva2015-02-011-2/+1
* | Provide a better error message on :required associationHenrik Nygren2015-01-281-0/+1
* | Merge pull request #18670 from morgoth/fix-duplicating-errors-detailsYves Senn2015-01-241-1/+2
|\ \
| * | Fixed duplicating ActiveModel::Errors#detailsWojciech Wnętrzak2015-01-241-1/+2
* | | use attribute assignment module logic during active model initializationEugene Gilburg2015-01-231-4/+3
|/ /
* | ✂️ and 💅 for #10776Sean Griffin2015-01-231-3/+2
* | Extracted `ActiveRecord::AttributeAssignment` to `ActiveModel::AttributesAssi...Bogdan Gusiev2015-01-232-0/+65
* | Merge pull request #18322 from morgoth/add-error-codesRafael Mendonça França2015-01-211-20/+37
|\ \
| * | Add ActiveModel::Errors#detailsWojciech Wnętrzak2015-01-201-20/+37
* | | Add missing AS core extension dependencyWojciech Wnętrzak2015-01-211-0/+1
|/ /
* | Don't calculate in-place changes on attribute assignmentSean Griffin2015-01-181-0/+1
* | 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
* | Update copyright notices to 2015 [ci skip]Arun Agrawal2014-12-311-1/+1
* | 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