aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/type/helpers.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix type cast with values hash for Date typeRyuta Kamizono2019-02-181-0/+1
| | | | | | | | `value_from_multiparameter_assignment` defined by `AcceptsMultiparameterTime` helper requires `default_timezone` method which is defined at `TimeValue` helper. Since `Date` type doesn't include `TimeValue`, I've extracted `Timezone` helper to be shared by `Date`, `DateTime`, and `Time` types.
* [Active Model] require => require_relativeAkira Matsuda2017-10-211-4/+4
| | | | This basically reverts ee5cfc01a5797f854c8441539b0cae326a81b963
* Use frozen string literal in activemodel/Kir Shatrov2017-07-161-0/+2
|
* [Active Model] require => require_relativeAkira Matsuda2017-07-011-4/+4
|
* applies new string literal convention in activemodel/libXavier Noria2016-08-061-4/+4
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Move ActiveRecord::Type to ActiveModelKir Shatrov2015-09-211-0/+4
The first step of bringing typecasting to ActiveModel