aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #35336 from kamipo/dont_allow_non_numeric_string_matches_t...Ryuta Kamizono2019-02-213-8/+17
|\
| * Don't allow `where` with non numeric string matches to 0 valuesRyuta Kamizono2019-02-203-8/+17
* | Revert "Speed up integer casting from DB"Ryuta Kamizono2019-02-212-6/+1
|/
* Don't allow `where` with invalid value matches to nil valuesRyuta Kamizono2019-02-181-4/+0
* Merge pull request #29651 from Sayanc93/return-correct-dateRyuta Kamizono2019-02-183-2/+30
|\
| * Return correct date in ActiveModel for time to date conversionsSayan Chakraborty2017-12-173-2/+40
* | Extract duplicated `serialize` methods into helpersRyuta Kamizono2019-02-188-21/+14
* | Fix type cast with values hash for Date typeRyuta Kamizono2019-02-187-13/+27
* | Add edge test cases for integer and string typesRyuta Kamizono2019-02-172-0/+15
* | activemodel typo fixes.alkesh262019-01-312-2/+2
* | Add missing require for `Float#to_d`yuuji.yaginuma2019-01-261-0/+2
* | Fix NumericalityValidator on object responding to `to_f`:Edouard CHIN2019-01-222-8/+16
* | Fix year value when casting a multiparameter time hashAndrew White2019-01-213-1/+30
* | Preparing for 6.0.0.beta1 releaseRafael Mendonça França2019-01-182-1/+3
* | Require hash/keys inside active_model/callbacksRafael Mendonça França2019-01-161-0/+1
* | Revert "Revert "Merge pull request #34387 from yhirano55/rails_info_propertie...Kasper Timm Hansen2019-01-081-0/+3
* | Revert "Merge pull request #34387 from yhirano55/rails_info_properties_json"Kasper Timm Hansen2019-01-081-3/+0
* | Add `ActiveModel::Errors#of_kind?`bogdanvlviv2019-01-043-10/+113
* | Bump license years for 2019Arun Agrawal2018-12-312-2/+2
* | Enable `Style/RedundantBegin` cop to avoid newly adding redundant begin blockRyuta Kamizono2018-12-214-106/+84
* | 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