aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test
Commit message (Expand)AuthorAgeFilesLines
* Add an immutable string type to opt out of string dupingSean Griffin2015-10-151-0/+7
* AMo typosAkira Matsuda2015-09-221-1/+1
* Fix another implicit dependency of the AM test suiteSean Griffin2015-09-211-0/+1
* Move the appropriate type tests to the Active Model suiteSean Griffin2015-09-215-0/+324
* Simplify the implementation of Active Model's type registrySean Griffin2015-09-211-0/+39
* Validate multiple contexts on `valid?` and `invalid?` at once.Dmitry Polushkin2015-09-071-0/+19
* Revert "Merge pull request #21069 from dmitry/feature/validate-multiple-conte...Rafael Mendonça França2015-09-071-19/+0
* Merge pull request #21069 from dmitry/feature/validate-multiple-contexts-at-onceRafael Mendonça França2015-09-071-0/+19
|\
| * Validate multiple contexts on `valid?` and `invalid?` at once.Dmitry Polushkin2015-07-301-0/+19
* | Removed unused config filePrakash Laxkar2015-09-032-4/+0
* | Add missing test for #17351Aditya Kapoor2015-09-011-0/+14
* | Removed duplicate requiring minitest/mock as it is already required in method...Ronak Jangir2015-08-261-2/+0
* | Remove XML Serialization from core.Zachary Scott2015-08-072-252/+0
* | pass the correct argument to mock on a test of `validates_length_of`yuuji.yaginuma2015-07-281-1/+1
|/
* Removes unnecessary comments from i18n validations tests [ci skip]Zamith2015-07-111-61/+2
* Remove the reference to mocha in activemodelZamith2015-07-111-27/+27
* Use private method call assertions in Active Model tests.Kasper Timm Hansen2015-07-104-59/+46
* Improve Validation Helpers' documentation comments and testsRadan Skoric2015-06-272-0/+31
* Fix typo in AM I18n validation test name [skip ci]Anton Davydov2015-06-091-1/+1
* Require yaml for isolation testRafael Mendonça França2015-05-291-0/+1
* Remove use of mocha from Active ModelRoque Pinel2015-05-284-59/+117
* Stop skipping a test that now works on Rubiniusclaudiob2015-05-101-2/+0
* Adds/Corrects use case for adding an error messageZamith2015-05-041-0/+6
* ensure `method_missing` called for non-existing methods passed toJay Elaraj2015-04-281-9/+16
* Add `ActiveModel::Dirty#[attr_name]_previously_changed?` andFernando Tapia Rico2015-04-211-0/+13
* 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
|\ \