aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases
Commit message (Expand)AuthorAgeFilesLines
* Fix validation callbacks on multiple contextYoshiyuki Hirano2017-12-201-0/+43
* Suppress `warning: BigDecimal.new is deprecated` in Active ModelYasuo Honda2017-12-143-23/+23
* Change how `AttributeSet::Builder` receives its defaultsSean Griffin2017-11-271-1/+2
* Merge pull request #31117 from renuo/fix_errors_addedRafael França2017-11-131-0/+7
|\
| * fix bug on added? methodAlessandro Rodi2017-11-131-0/+7
* | Add missing autoload `Type` (#31123)Ryuta Kamizono2017-11-1114-14/+0
* | Add missing requiresyuuji.yaginuma2017-11-101-0/+2
|/
* Move Attribute and AttributeSet to ActiveModelLisa Ugray2017-11-095-32/+532
* Merge pull request #31061 from bogdanvlviv/test-if-unless-options-for-validat...Rafael França2017-11-063-6/+57
|\
| * Add cases to test combining validation conditionsbogdanvlviv2017-11-063-6/+57
* | Execute `ConfirmationValidator` validation when `_confirmation`'s value is `f...bogdanvlviv2017-11-051-0/+13
|/
* Allow passing a Proc or Symbol as an argument to length validator valuesMatt Rohrer2017-10-261-0/+31
* Merge pull request #30920 from lugray/attributes_to_amSean Griffin2017-10-232-0/+287
|\
| * Start bringing attributes API to AMLisa Ugray2017-10-182-0/+287
* | Remove deprecated `:if` and `:unless` string filter for callbacksRafael Mendonça França2017-10-232-104/+2
|/
* Merge pull request #29788 from kamipo/remove_unused_mutex_mRafael França2017-07-171-1/+1
|\
| * Make `generated_attribute_methods` to privateRyuta Kamizono2017-07-141-1/+1
* | Use frozen string literal in activemodel/Kir Shatrov2017-07-1646-0/+92
|/
* Add ActiveModel::Errors#merge!Jahfer Husain2017-07-071-0/+12
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-0246-46/+0
* Merge pull request #29540 from kirs/rubocop-frozen-stringMatthew Draper2017-07-0246-0/+46
|\
| * Enforce frozen string in RubocopKir Shatrov2017-07-0146-0/+46
* | Make ActiveModel frozen string literal friendly.Pat Allan2017-06-202-2/+2
|/
* Replace \Z to \zRyuta Kamizono2017-04-241-3/+3
* Don't freeze input stringsMatthew Draper2017-04-121-2/+11
* Fix ActiveModel::Errors #keys, #valuesbogdanvlviv2017-03-281-0/+16
* Merge pull request #28050 from namusyaka/avoid-converting-int-into-floatRafael Mendonça França2017-03-271-0/+9
|\
| * Avoid converting integer as a string into floatnamusyaka2017-02-181-0/+9
* | Fix invalid string Decimal casting under ruby 2.4John Hawthorn2017-02-243-0/+17
|/
* Remove deprecated behavior that halts callbacks when the return is falseRafael Mendonça França2017-02-072-13/+10
* Merge pull request #27608 from kamipo/remove_deprecated_passing_string_to_def...Rafael França2017-02-073-11/+31
|\
| * Deprecate passing string to `:if` and `:unless` conditional options on `set_c...Ryuta Kamizono2017-02-042-10/+30
| * Remove deprecated passing string to define callbackRyuta Kamizono2017-02-041-1/+1
* | Remove `ActiveModel::TestCase` from libyuuji.yaginuma2017-02-071-1/+1
|/
* Don't pollute Object with rubinius_skip and jruby_skipAkira Matsuda2017-01-171-9/+9
* Missing require for strip_heredocAkira Matsuda2017-01-171-0/+1
* "Use assert_nil if expecting nil. This will fail in minitest 6."Akira Matsuda2016-12-255-13/+13
* Describe what we are protectingAkira Matsuda2016-12-231-0/+2
* Missing require "yaml"Akira Matsuda2016-12-121-0/+1
* Make ActiveModel::Errors backward compatible with 4.2Rafael Mendonça França2016-12-081-0/+20
* Merge pull request #26696 from iainbeeston/only-ruby-types-in-activemodelSean Griffin2016-12-081-18/+0
|\
| * Moved database-specific ActiveModel types into ActiveRecordIain Beeston2016-10-141-18/+0
* | Allow indifferent access in ActiveModel::ErrorsKenichi Kamiya2016-11-221-3/+8
* | Do not rely on Ruby implementation in AM testKir Shatrov2016-11-191-3/+3
* | Merge pull request #26935 from y-yagi/fix_ruby_warningAndrew White2016-10-311-1/+1
|\ \
| * | remove warning from big integer testyuuji.yaginuma2016-10-311-1/+1
* | | Add more rubocop rules about whitespacesRafael Mendonça França2016-10-299-55/+55
|/ /
* / Refactored ActiveModel::Type tests into their own filesIain Beeston2016-10-1513-168/+266
|/
* Removed deprecated :tokenizer in the length validatorRafael Mendonça França2016-10-101-36/+0
* Removed deprecated methods in ActiveModel::ErrorsRafael Mendonça França2016-10-101-92/+0