diff options
author | yui-knk <spiketeika@gmail.com> | 2015-09-27 23:51:21 +0900 |
---|---|---|
committer | yui-knk <spiketeika@gmail.com> | 2015-09-27 23:51:21 +0900 |
commit | a314879a96a92cfdd06b0ea998fe3201fad604fa (patch) | |
tree | b17d77ab8b2e8aadca188b6a8baf46d3ddf36c25 /activerecord/lib/active_record/statement_cache.rb | |
parent | 8c879b7afa7609695ce1cda3b229c7e9a572293d (diff) | |
download | rails-a314879a96a92cfdd06b0ea998fe3201fad604fa.tar.gz rails-a314879a96a92cfdd06b0ea998fe3201fad604fa.tar.bz2 rails-a314879a96a92cfdd06b0ea998fe3201fad604fa.zip |
[ci skip] Fix which method `FormHelper#date_field` try to call
When this method was implemented
(https://github.com/rails/rails/pull/5016/files), `to_date` is called.
But this behavior was chagned refactoring
(https://github.com/rails/rails/pull/6452/files).
In the first commit, there were not test which asserts `to_date` is called.
I think trying `to_date` is more useful than trying `strftime`, because
we can write `"2015-01-01".to_date`. But first fix comments to match
actual behavior.
Diffstat (limited to 'activerecord/lib/active_record/statement_cache.rb')
0 files changed, 0 insertions, 0 deletions