aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
Commit message (Expand)AuthorAgeFilesLines
* use `messages` instead of deprecated `ActiveModel::Errors#[]=` method [ci skip]yuuji.yaginuma2015-02-202-2/+2
* Merge pull request #18996 from morgoth/deprecate-more-errors-methodsYves Senn2015-02-194-8/+43
|\
| * Deprecate `ActiveModel::Errors` `add_on_empty` and `add_on_blank` methodsWojciech Wnętrzak2015-02-194-8/+41
|/
* Merge pull request #18634 from morgoth/deprecate-some-errors-methodsRafael Mendonça França2015-02-183-24/+54
|\
| * Deprecate `ActiveModel::Errors` `get`, `set` and `[]=` methods.Wojciech Wnętrzak2015-02-013-24/+54
* | Tiny documentation edits [ci skip]Robin Dupret2015-02-151-4/+6
* | Merge branch 'master' of github.com:rails/docrailsVijay Dev2015-02-142-9/+10
|\ \
| * | AM#Dirty doc fixesVipul A M2015-02-011-8/+9
| * | Fix description for AM::CallbacksVipul A M2015-01-311-1/+1
* | | Merge pull request #16381 from kakipo/validate-length-tokenizerRafael Mendonça França2015-02-134-7/+32
|\ \ \
| * | | Allow symbol as values for `tokenize` of `LengthValidator`kakipo2014-08-034-7/+32
* | | | 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
|\ \ \ | |/ / |/| |