aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test
Commit message (Expand)AuthorAgeFilesLines
* Replace “can not” with “cannot”.Samantha John2019-03-061-1/+1
* activemodel typo fix.alkesh262019-02-251-3/+3
* Merge pull request #35336 from kamipo/dont_allow_non_numeric_string_matches_t...Ryuta Kamizono2019-02-211-0/+8
|\
| * Don't allow `where` with non numeric string matches to 0 valuesRyuta Kamizono2019-02-201-0/+8
* | Revert "Speed up integer casting from DB"Ryuta Kamizono2019-02-211-1/+1
|/
* Merge pull request #29651 from Sayanc93/return-correct-dateRyuta Kamizono2019-02-181-0/+11
|\
| * Return correct date in ActiveModel for time to date conversionsSayan Chakraborty2017-12-171-0/+11
* | Fix type cast with values hash for Date typeRyuta Kamizono2019-02-181-1/+4
* | Add edge test cases for integer and string typesRyuta Kamizono2019-02-172-0/+15
* | activemodel typo fixes.alkesh262019-01-311-1/+1
* | Fix NumericalityValidator on object responding to `to_f`:Edouard CHIN2019-01-221-0/+13
* | Fix year value when casting a multiparameter time hashAndrew White2019-01-211-0/+1
* | Add `ActiveModel::Errors#of_kind?`bogdanvlviv2019-01-041-1/+79
* | Enable `Style/RedundantBegin` cop to avoid newly adding redundant begin blockRyuta Kamizono2018-12-214-106/+84
* | Module#{define_method,alias_method,undef_method,remove_method} become public ...Ryuta Kamizono2018-12-212-6/+6
* | Fix numericality equality validation on floatsGannon McGibbon2018-12-121-0/+7
* | Add slice! method to ActiveModel::ErrorsDaniel Lopez Prat2018-11-211-0/+24
* | Fix ignored options in the `#added?` methodRonan Limon Duparcmeur2018-11-131-0/+10
* | Add new exception message to datetime from hash castwilddima2018-10-211-0/+11
* | Fix spellings for 'unmarshall(ing/ed)' & 'marshall(ing/ed)'Sharang Dashputre2018-10-021-1/+1
* | Add `Style/RedundantFreeze` to remove redudant `.freeze`Yasuo Honda2018-09-291-1/+1
* | Merge pull request #30676 from artofhuman/import-assert-attrs-error-messageRafael França2018-09-261-1/+3
|\ \
| * | Improve error message when assign wrong attributes to modelSemyon Pupkov2018-04-281-1/+3
* | | Change the empty block style to have space inside of the blockRafael Mendonça França2018-09-251-1/+1
* | | Merge pull request #33949 from sjain1107/no-private-defKasper Timm Hansen2018-09-231-8/+10
|\ \ \
| * | | Remove private defSakshi Jain2018-09-231-8/+10
* | | | Enable `Performance/UnfreezeString` copyuuji.yaginuma2018-09-233-4/+4
|/ / /
* | | Merge pull request #33804 from yskkin/num_stringRyuta Kamizono2018-09-083-3/+13
|\ \ \
| * | | Fix non_numeric_string?Yoshiyuki Kinjo2018-09-073-3/+13
* | | | Merge pull request #33615 from Larochelle/i18n_full_message_with_nested_attri...Rafael França2018-09-071-1/+58
|\ \ \ \ | |/ / / |/| | |
| * | | Call human_attribute_name with a string instead of a symboleMartin Larochelle2018-08-161-1/+1
| * | | `ActiveModel.full_message` interaction with `index_errors`Martin Larochelle2018-08-141-0/+57
* | | | Fix numericality validator to still use value before type cast except Active ...Ryuta Kamizono2018-08-242-0/+24
|/ / /
* | | Fix test failurebogdanvlviv2018-08-111-1/+1
* | | Merge pull request #31503 from bogdan/timestamp-as-jsonEileen M. Uchitelle2018-08-111-0/+4
|\ \ \
| * | | Fix AM::Serializers::JSON#as_json method for timestampsBogdan Gusiev2017-12-211-0/+4
| | |/ | |/|
* | | Turn on performance based copsDillon Welch2018-07-231-15/+1
* | | Ensure attribute is a symbol in the added? methodJeremy Baker2018-07-141-0/+6
* | | has_secure_password: use `recovery_password` instead of `activation_token`bogdanvlviv2018-07-082-5/+5
* | | Improve `SecurePasswordTest#test_authenticate`bogdanvlviv2018-07-061-4/+7
* | | Fix Ruby warnings tickled by the test suiteutilum2018-06-301-1/+2
* | | Merge pull request #26764 from choncou/improve_has_secure_passwordRafael Mendonça França2018-06-282-1/+6
|\ \ \
| * | | Remove method for regenerating a token, and update `#authenticate`.Unathi Chonco2016-10-121-11/+2
| * | | This addition will now allow configuring an attribute name for theUnathi Chonco2016-10-122-1/+15
* | | | Merge pull request #32956 from Shopify/i18n_activemodel_errors_full_messageRafael França2018-06-112-0/+79
|\ \ \ \
| * | | | Add global config for config.active_model.i18n_full_messageMartin Larochelle2018-06-052-0/+43
| * | | | 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
|/ / /