aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test
Commit message (Expand)AuthorAgeFilesLines
...
| * | | | Allow to override the full_message error formatMartin Larochelle2018-05-221-0/+36
* | | | | Fix user_input_in_time_zone to coerce non valid string into nilAnnie-Claude Côté2018-05-161-0/+15
* | | | | Fix `CustomCops/AssertNot` to allow it to have failure messageRyuta Kamizono2018-05-133-13/+13
| |_|_|/ |/| | |
* | | | Replace `assert !` with `assert_not`Daniel Colson2018-04-194-7/+7
|/ / /
* | | Alias `assign_attributes` to `attributes=` for `AttributeAssignment`Ryuta Kamizono2018-02-281-0/+8
* | | Merge pull request #31926 from composerinteralia/am-attributesRafael França2018-02-281-0/+20
|\ \ \
| * | | Add ActiveModel::Attributes#attributesDaniel Colson2018-02-071-0/+20
* | | | Merge pull request #28270 from mmangino/dont_ignore_seralization_optionsRyuta Kamizono2018-02-271-0/+7
|\ \ \ \
| * | | | Fix styleMike Mangino2017-03-031-1/+1
| * | | | Don't accidentally lose includes in serializationMike Mangino2017-03-031-3/+9
* | | | | Rails 6 requires Ruby 2.3+Jeremy Daer2018-02-171-4/+1
* | | | | Remove usage of strip_heredoc in the framework in favor of <<~Rafael Mendonça França2018-02-161-2/+1
| |/ / / |/| | |
* | | | PERF: Recover marshaling dump/load performance (#31827)Ryuta Kamizono2018-02-021-0/+16
* | | | Don't expose `attributes_with_uninitialized_key` utility methodRyuta Kamizono2018-01-301-5/+6
* | | | Use assert_empty and assert_not_emptyDaniel Colson2018-01-254-14/+14
* | | | Use assert_predicate and assert_not_predicateDaniel Colson2018-01-2519-361/+361
* | | | Change refute to assert_notDaniel Colson2018-01-251-3/+3
* | | | Use respond_to test helpersDaniel Colson2018-01-253-9/+9
* | | | Allow attributes with a proc default to be marshalledSean Griffin2018-01-231-0/+9
* | | | More exercise `ActiveModel::Dirty` testsRyuta Kamizono2018-01-201-3/+24
* | | | Change test case name to FormatValidationTestPatrik Bóna2018-01-141-1/+1
* | | | 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-065-7/+62
|\ \ \
| * | | Add cases to test combining validation conditionsbogdanvlviv2017-11-065-7/+62
* | | | 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-1661-0/+122
|/ / /
* | | Add ActiveModel::Errors#merge!Jahfer Husain2017-07-071-0/+12
* | | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-0261-61/+0
* | | Merge pull request #29540 from kirs/rubocop-frozen-stringMatthew Draper2017-07-0261-0/+61
|\ \ \
| * | | Enforce frozen string in RubocopKir Shatrov2017-07-0161-0/+61
* | | | Make ActiveModel frozen string literal friendly.Pat Allan2017-06-202-2/+2
|/ / /
* | | Replace \Z to \zRyuta Kamizono2017-04-241-3/+3
* | | :scissors:Ryuta Kamizono2017-04-131-1/+0
* | | 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