aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
Commit message (Expand)AuthorAgeFilesLines
* Module#{attr,attr_accessor,attr_reader,attr_writer} become public since Ruby 2.5Ryuta Kamizono2018-12-213-5/+5
* Module#{define_method,alias_method,undef_method,remove_method} become public ...Ryuta Kamizono2018-12-213-8/+8
* Use native `Array#append`, `Array#prepend`, `Hash#transform_keys`, and `Hash#...Ryuta Kamizono2018-12-201-2/+0
* Merge pull request #30973 from k0kubun/prefer-block-parameterRyuta Kamizono2018-12-201-10/+2
|\
| * Unify _read_attribute definition to use &blockTakashi Kokubun2018-12-201-10/+2
* | Require Ruby 2.5 for Rails 6.Kasper Timm Hansen2018-12-192-3/+3
* | Prevent infinit method_missing loop on attribute methodsRyuta Kamizono2018-12-151-0/+1
* | Merge pull request #34693 from ahorek/matchRyuta Kamizono2018-12-131-3/+3
|\ \
| * | use match?pavel2018-12-121-3/+3
|/ /
* | Fix numericality equality validation on floatsGannon McGibbon2018-12-123-10/+34
* | Do not use deprecated Object#!~ in Ruby 2.6Rafael Mendonça França2018-11-261-1/+5
* | Add slice! method to ActiveModel::ErrorsDaniel Lopez Prat2018-11-213-0/+39
* | Re-add changes_applied docGannon McGibbon2018-11-161-1/+3
* | Merge pull request #34417 from r3trofitted/fix/added_options_checkRafael França2018-11-132-3/+13
|\ \
| * | Fix ignored options in the `#added?` methodRonan Limon Duparcmeur2018-11-132-3/+13
* | | Ensure casting by decimal attribute when queryingRyuta Kamizono2018-11-121-0/+4
|/ /
* | Amend CVE note and security guide section wordingsGannon McGibbon2018-11-061-3/+3
* | Add CVE note to security guide and gemspecsGannon McGibbon2018-11-061-0/+3
* | `update_columns` raises if the column is unknownSean Griffin2018-10-301-0/+1
* | Fix grammar in changed? docs [ci skip]Alberto Almagro2018-10-281-1/+1
* | Add new exception message to datetime from hash castwilddima2018-10-212-3/+14
* | Improve model attribute accessor method names for backtracesDylan Thacker-Smith2018-10-122-22/+48
* | Fix call sitesGannon McGibbon2018-10-021-1/+1
* | 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-297-8/+8
* | 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