aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
Commit message (Expand)AuthorAgeFilesLines
* Fix messages[]= does not override valuelulalala2019-03-311-0/+1
* Freeze DeprecationHandling array and hashlulalala2019-03-311-13/+20
* Fix equality comparison raising error buglulalala2019-03-311-1/+1
* Fix speclulalala2019-03-311-1/+1
* Split messages and to_hashlulalala2019-03-311-18/+21
* Raise deprecation for calling `[:f] = 'b'` or `[:f] << 'b'`lulalala2019-03-311-4/+46
* Add deprecation to slice!lulalala2019-03-311-0/+2
* Nested attribute error's attribute name to use different key:lulalala2019-03-311-1/+1
* String override options in #import to convert to symbollulalala2019-03-311-0/+5
* Allow errors to remove duplicates, and ensure cyclic associations w/ autosave...lulalala2019-03-312-1/+16
* Add messages_forlulalala2019-03-311-1/+7
* Add a transitional method `objects`, for accessing the array directly.lulalala2019-03-311-0/+1
* Backward compatibility for errors.collect/select etc.lulalala2019-03-311-2/+2
* Add convenience method group_by_attributelulalala2019-03-311-20/+9
* Change errorslulalala2019-03-312-109/+190
* Add ActiveModel::Error and NestedErrorlulalala2019-03-313-16/+93
* Merge pull request #35794 from kamipo/type_cast_symbol_falseRyuta Kamizono2019-03-301-1/+10
|\
| * Type cast falsy boolean symbols on boolean attribute as falseRyuta Kamizono2019-03-301-1/+10
* | Rename `i18n_full_message` config option to `i18n_customize_full_message`Prathamesh Sonpatki2019-03-292-5/+5
|/
* Merge tag 'v6.0.0.beta3'eileencodes2019-03-131-1/+1
|\
| * Prep releaseeileencodes2019-03-111-1/+1
* | Fall back to parent locale before it falls back to the :errors namespaceHugo Vacher2019-03-041-9/+14
|/
* Preparing for 6.0.0.beta2 releaseRafael Mendonça França2019-02-251-1/+1
* Merge pull request #35336 from kamipo/dont_allow_non_numeric_string_matches_t...Ryuta Kamizono2019-02-212-8/+9
|\
| * Don't allow `where` with non numeric string matches to 0 valuesRyuta Kamizono2019-02-202-8/+9
* | Revert "Speed up integer casting from DB"Ryuta Kamizono2019-02-211-5/+0
|/
* 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-181-1/+1
|\
| * Return correct date in ActiveModel for time to date conversionsSayan Chakraborty2017-12-171-1/+13
* | Extract duplicated `serialize` methods into helpersRyuta Kamizono2019-02-188-21/+14
* | Fix type cast with values hash for Date typeRyuta Kamizono2019-02-186-12/+23
* | activemodel typo fixes.alkesh262019-01-311-1/+1
* | Add missing require for `Float#to_d`yuuji.yaginuma2019-01-261-0/+2
* | Fix NumericalityValidator on object responding to `to_f`:Edouard CHIN2019-01-221-8/+3
* | Fix year value when casting a multiparameter time hashAndrew White2019-01-211-1/+1
* | Preparing for 6.0.0.beta1 releaseRafael Mendonça França2019-01-181-1/+1
* | Require hash/keys inside active_model/callbacksRafael Mendonça França2019-01-161-0/+1
* | Add `ActiveModel::Errors#of_kind?`bogdanvlviv2019-01-041-9/+30
* | Bump license years for 2019Arun Agrawal2018-12-311-1/+1
* | 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-211-2/+2
* | 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
* | | 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-121-10/+22
* | | 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-211-0/+11