diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-02-18 03:16:23 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2019-02-18 04:20:52 +0900 |
commit | 907280ddfd78c53e2eb5af6f12512dc38df38bd8 (patch) | |
tree | 445db778f4e92d73acec0896e068f978c7ed6383 /actionview/test | |
parent | 07346c4b35df191cfb05353a0a9f3e2f30faca65 (diff) | |
download | rails-907280ddfd78c53e2eb5af6f12512dc38df38bd8.tar.gz rails-907280ddfd78c53e2eb5af6f12512dc38df38bd8.tar.bz2 rails-907280ddfd78c53e2eb5af6f12512dc38df38bd8.zip |
Fix type cast with values hash for Date type
`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.
Diffstat (limited to 'actionview/test')
0 files changed, 0 insertions, 0 deletions