aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test
Commit message (Expand)AuthorAgeFilesLines
...
* Do not leak the Errors default proc when calling to_hash or as_jsonJean Boussier2016-09-271-0/+10
* improve error message when include assertions failMichael Grosser2016-09-165-25/+25
* Fix broken comments indentation caused by rubocop auto-correct [ci skip]Ryuta Kamizono2016-09-141-1/+1
* Add test for allow_blank in numericality validationNicolai Reuschling2016-08-281-0/+7
* Add three new rubocop rulesRafael Mendonça França2016-08-1611-60/+60
* Fix broken alignments caused by auto-correct commit 411ccbdRyuta Kamizono2016-08-101-1/+2
* code gardening: removes redundant selfsXavier Noria2016-08-082-18/+18
* Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-072-2/+0
* applies remaining conventions across the projectXavier Noria2016-08-0614-16/+0
* normalizes indentation and whitespace across the projectXavier Noria2016-08-0610-33/+32
* remove redundant curlies from hash argumentsXavier Noria2016-08-063-7/+5
* modernizes hash syntax in activemodelXavier Noria2016-08-063-6/+6
* applies new string literal convention in activemodel/testXavier Noria2016-08-0638-563/+563
* use \A and \z when you mean \A and \zXavier Noria2016-07-241-1/+1
* systematic revision of =~ usage in AMoXavier Noria2016-07-241-2/+4
* Add test to better demonstrate `ActiveModel::Errors#added?` behaviorJon Moss2016-06-211-0/+6
* Remove unused require and unused model stubJon Moss2016-05-312-4/+0
* Ensure that instances of `ActiveModel::Errors` can be marshalledSean Griffin2016-05-301-0/+9
* Support for unified Integer class in Ruby 2.4+Jeremy Daer2016-05-181-1/+1
* Merge pull request #24806 from vipulnsward/errors-details-testRafael França2016-05-051-1/+1
|\
| * Followup of #18322Vipul A M2016-05-021-1/+1
* | Check for the right exceptionRafael Mendonça França2016-05-031-1/+1
* | Change RangeError to a more specific ActiveModel::RangeErrorChristian Blais2016-05-031-6/+6
|/
* Add test case for interpolation with passing of data along with record attrib...Vipul A M2016-04-051-0/+8
* Allow passing record being validated to error message generatorPrathamesh Sonpatki2016-04-051-0/+8
* Merge pull request #24299 from kitop/activemodel-errors-include-fixKasper Timm Hansen2016-03-251-0/+7
|\
| * Do not create a hash key when calling ActiveModel::Errors#include?Esteban Pastorino2016-03-241-0/+7
* | Apply scale before precision when coercing floats to decimalSean Griffin2016-03-241-0/+7
* | Add edge cases to Time/Date/DateTime inclusion validation testsojab2016-03-241-3/+17
|/
* Remove load_paths fileArthur Neves2016-02-271-2/+0
* remove args from assert_nothing_raised in testsTara Scherner de la Fuente2016-02-222-4/+4
* Take UTC offset into account when assigning string value to time attribute.Andrey Novikov2016-01-051-0/+3
* Failing Tests for Validating String NumbericalityRobert Eshleman2015-12-221-0/+42
* Merge pull request #22598 from yui-knk/deprecate_string_callbackRafael França2015-12-162-1/+2
|\
| * Deprecate passing string to define callback.yui-knk2015-12-162-1/+2
* | `ActiveRecord::Base#becomes` should copy the errorsVokhmin Alexey V2015-12-141-0/+10
|/
* add test for nested model translationkeepcosmos2015-12-031-0/+5
* Fix test failures caused by #21000Sean Griffin2015-11-231-0/+1
* Update and fix forbidden attributes testsThomas Walpole2015-11-032-5/+30
* Really fix test failures caused by #19851Sean Griffin2015-10-201-5/+6
* Fix test failures caused by #19851Sean Griffin2015-10-201-5/+5
* Merge pull request #19851 from repinel/numericality-validation2Sean Griffin2015-10-201-1/+36
|\
| * Conditionally convert the raw_value received by the numeric validator.Roque Pinel2015-07-111-1/+36
* | 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