aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
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
* | Merge pull request #18795 from vipulnsward/remove-magic-commentsJeremy Kemper2015-02-0316-17/+0
|\ \
| * | Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 on...Vipul A M2015-02-0316-17/+0
* | | 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-012-7/+1
* | Merge pull request #18700 from nygrenh/better-required-messageAaron Patterson2015-01-312-0/+6
|\ \
| * | Provide a better error message on :required associationHenrik Nygren2015-01-282-0/+6
* | | unify CHANGELOG format. [ci skip]Yves Senn2015-01-311-32/+30
|/ /
* | Merge pull request #18670 from morgoth/fix-duplicating-errors-detailsYves Senn2015-01-242-2/+3
|\ \
| * | Fixed duplicating ActiveModel::Errors#detailsWojciech Wnętrzak2015-01-242-2/+3
* | | use attribute assignment module logic during active model initializationEugene Gilburg2015-01-233-5/+17
|/ /
* | ✂️ and 💅 for #10776Sean Griffin2015-01-233-33/+33
* | Extracted `ActiveRecord::AttributeAssignment` to `ActiveModel::AttributesAssi...Bogdan Gusiev2015-01-234-0/+191
* | Merge pull request #18322 from morgoth/add-error-codesRafael Mendonça França2015-01-213-21/+98
|\ \
| * | Add ActiveModel::Errors#detailsWojciech Wnętrzak2015-01-203-21/+98
* | | 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-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