aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test
Commit message (Expand)AuthorAgeFilesLines
...
* Merge pull request #19021 from morgoth/activemodel-errors-refactoringRafael Mendonça França2015-03-301-0/+6
|\
| * Simplify and alias ActiveModel::Errors methods where possibleWojciech Wnętrzak2015-02-201-0/+6
* | Deprecate the `:tokenizer` option to `validates_length_of`Sean Griffin2015-03-291-4/+16
* | Fix arguments order on assertionCarlos Antonio da Silva2015-03-221-1/+1
* | Fix ActiveModel::Errors#delete return value to stay backward compatibleRadan Skoric2015-03-221-0/+6
* | Revert "Leave all our tests as order_dependent! for now"Matthew Draper2015-03-061-5/+0
* | Merge pull request #19173 from robin850/rbx-buildRafael Mendonça França2015-03-022-0/+11
|\ \
| * | Skip the failing tests on Rubinius for nowRobin Dupret2015-03-021-0/+2
| * | Add the platform-specific skip helpers to ActiveModelRobin Dupret2015-03-021-0/+9
* | | Follow-up to #10776Robin Dupret2015-02-262-3/+3
|/ /
* / activemodel: make .model_name json encodableIan Ker-Seymer2015-02-241-0/+4
|/
* Move the `validate!` method to `ActiveModel::Validations`.Lucas Mazza2015-02-201-0/+19
* Deprecate `ActiveModel::Errors` `add_on_empty` and `add_on_blank` methodsWojciech Wnętrzak2015-02-192-8/+22
* Merge pull request #18634 from morgoth/deprecate-some-errors-methodsRafael Mendonça França2015-02-181-15/+21
|\
| * Deprecate `ActiveModel::Errors` `get`, `set` and `[]=` methods.Wojciech Wnętrzak2015-02-011-15/+21
* | Merge pull request #16381 from kakipo/validate-length-tokenizerRafael Mendonça França2015-02-132-0/+17
|\ \
| * | Allow symbol as values for `tokenize` of `LengthValidator`kakipo2014-08-032-0/+17
* | | Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 on...Vipul A M2015-02-0316-17/+0
| |/ |/|
* | Merge pull request #18670 from morgoth/fix-duplicating-errors-detailsYves Senn2015-01-241-1/+1
|\ \
| * | Fixed duplicating ActiveModel::Errors#detailsWojciech Wnętrzak2015-01-241-1/+1
* | | use attribute assignment module logic during active model initializationEugene Gilburg2015-01-231-1/+3
|/ /
* | ✂️ and 💅 for #10776Sean Griffin2015-01-231-29/+30
* | Extracted `ActiveRecord::AttributeAssignment` to `ActiveModel::AttributesAssi...Bogdan Gusiev2015-01-231-0/+106
* | Add ActiveModel::Errors#detailsWojciech Wnętrzak2015-01-201-0/+42
* | Merge pull request #18439 from mokhan/validates-acceptance-of-arraySean Griffin2015-01-121-0/+6
|\ \
| * | allow '1' or true for acceptance validation.mo khan2015-01-101-0/+6
* | | 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 deprecated `ActiveModel::Dirty#reset_#{attribute}` and `ActiveModel::D...Rafael Mendonça França2015-01-041-17/+0
* | Deprecate `false` as the way to halt AM callbacksclaudiob2015-01-021-3/+13
* | Deprecate `false` as the way to halt AM validation callbacksclaudiob2015-01-021-3/+17
* | - 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-121-1/+37
* | Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-292-3/+3
* | Remove redundant require of fileAdam892014-11-011-1/+0
* | Add #key? to ActiveModel::ErrorsGarry Shutler2014-10-141-0/+11
* | Added test for exception message for validate methodPrathamesh Sonpatki2014-09-231-1/+3
* | Default to sorting user's test cases for nowGodfrey Chan2014-09-081-1/+1
* | Leave all our tests as order_dependent! for nowMatthew Draper2014-09-021-0/+5
* | Move model definition to test/models for test order indenendencyAkira Matsuda2014-08-283-29/+15
* | [ci skip] make assert messages consistentankit19102014-08-251-2/+2
* | AM, AP, AV, and AMo tests are already order_independent!Akira Matsuda2014-08-131-5/+0
* | Nobody sucks so nobody should call this awful method nameRafael Mendonça França2014-08-121-1/+1
* | users_dont_suck_but_only_we_suck_and_only_our_tests_are_order_dependent!Akira Matsuda2014-08-121-0/+5
* | Allow password to contain spaces only.Yevhene Shemet2014-08-061-0/+10
|/
* Merge pull request #15959 from aditya-kapoor/remove-unneeded-casesRafael Mendonça França2014-07-292-26/+17
|\
| * remove unneeded test model for ActiveModel test cases.Aditya Kapoor2014-06-282-26/+17