aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #30676 from artofhuman/import-assert-attrs-error-messageRafael França2018-09-262-2/+4
|\
| * Improve error message when assign wrong attributes to modelSemyon Pupkov2018-04-282-2/+4
* | 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-084-4/+14
|\ \
| * | Fix non_numeric_string?Yoshiyuki Kinjo2018-09-074-4/+14
* | | Merge pull request #33615 from Larochelle/i18n_full_message_with_nested_attri...Rafael França2018-09-072-3/+63
|\ \ \
| * | | Call human_attribute_name with a string instead of a symboleMartin Larochelle2018-08-162-2/+2
| * | | `ActiveModel.full_message` interaction with `index_errors`Martin Larochelle2018-08-142-3/+63
* | | | Formatting CHANGELOGs [ci skip]Ryuta Kamizono2018-09-071-12/+13
| |/ / |/| |
* | | Faster time_value.rbschneems2018-08-291-1/+7
* | | Fix numericality validator to still use value before type cast except Active ...Ryuta Kamizono2018-08-244-4/+41
* | | Fix numericality validator not to be affected by custom getterRyuta Kamizono2018-08-131-0/+2
|/ /
* | Add changelog entry for #31503 [ci skip]bogdanvlviv2018-08-121-0/+16
* | Fix test failurebogdanvlviv2018-08-111-1/+1
* | Merge pull request #31503 from bogdan/timestamp-as-jsonEileen M. Uchitelle2018-08-112-9/+14
|\ \
| * | Fix AM::Serializers::JSON#as_json method for timestampsBogdan Gusiev2017-12-212-9/+14
* | | ActiveModel::Naming delegate match? in the same manner as =~ and != (#33466)Bart2018-07-291-1/+17
* | | Turn on performance based copsDillon Welch2018-07-231-15/+1
* | | Merge pull request #30919 from seanlinsley/17622-before_save_strict_argumentsRyuta Kamizono2018-07-231-7/+9
|\ \ \
| * | | add strict argument checking to ActiveRecord callbacksSean Linsley2018-07-221-7/+9
|/ / /
* | | Ensure attribute is a symbol in the added? methodJeremy Baker2018-07-142-1/+7
* | | has_secure_password: use `recovery_password` instead of `activation_token`bogdanvlviv2018-07-084-15/+15
* | | Improve `SecurePasswordTest#test_authenticate`bogdanvlviv2018-07-061-4/+7
* | | Shorter code: remove unnecessary conditionclaudiob2018-07-051-1/+1
* | | 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-284-56/+72
|\ \ \
| * | | Remove method for regenerating a token, and update `#authenticate`.Unathi Chonco2016-10-123-61/+25
| * | | This addition will now allow configuring an attribute name for theUnathi Chonco2016-10-124-41/+93
* | | | Add changelog for #32956 [ci skip]bogdanvlviv2018-06-121-0/+6
* | | | Fix active_model/errors docs [ci skip]bogdanvlviv2018-06-121-1/+1
* | | | Merge pull request #32956 from Shopify/i18n_activemodel_errors_full_messageRafael França2018-06-114-2/+131
|\ \ \ \
| * | | | Add global config for config.active_model.i18n_full_messageMartin Larochelle2018-06-054-1/+55
| * | | | Allow to override the full_message error formatMartin Larochelle2018-05-222-2/+77
* | | | | PERF: avoid allocating column names where possibleSam2018-06-061-1/+1
* | | | | Ensure casting by boolean attribute when queryingRyuta Kamizono2018-05-291-0/+4
* | | | | Parse raw value only when a value came from user in numericality validatorRyuta Kamizono2018-05-281-2/+4
* | | | | Make force equality checking more strictly not to allow serialized attributeRyuta Kamizono2018-05-251-0/+4
* | | | | Fix user_input_in_time_zone to coerce non valid string into nilAnnie-Claude Côté2018-05-162-0/+17
* | | | | Add missing require for string to timezone conversionAnnie-Claude Côté2018-05-161-0/+1
* | | | | 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
* | | | Update validates_inclusion_of exampleCassidy Kobewka2018-04-171-1/+1
|/ / /
* | | Use string-based fields. [ci skip]Cassidy Kobewka2018-04-161-1/+1
* | | Inclusive Language in Documentation Examples [ci skip]Cassidy Kobewka2018-04-151-1/+1
* | | Merge pull request #32498 from eugeneius/mutation_tracker_merge_changesRyuta Kamizono2018-04-101-1/+1
|\ \ \
| * | | Prevent changes_to_save from mutating attributesEugene Kenny2018-04-081-1/+1
* | | | Avoid generating full changes hash on every saveEugene Kenny2018-04-081-0/+8
|/ / /