diff options
author | Vasiliy Ermolovich <younash@gmail.com> | 2012-08-23 21:59:22 +0300 |
---|---|---|
committer | Vasiliy Ermolovich <younash@gmail.com> | 2012-08-25 19:02:41 +0300 |
commit | 130fe2b172afb81979e72fbf30edf945147cb78f (patch) | |
tree | f3cc50274fca7d62002ad0852527cc6f122266be /tools | |
parent | dfb5898b6dd448a6867dcd26ebcbe0835b26a1e2 (diff) | |
download | rails-130fe2b172afb81979e72fbf30edf945147cb78f.tar.gz rails-130fe2b172afb81979e72fbf30edf945147cb78f.tar.bz2 rails-130fe2b172afb81979e72fbf30edf945147cb78f.zip |
correct handling of date selects when using both disabled and discard options
we should take disabled option not only from `html_options` hash but from
`options` hash too like `build_select` method does it. So
datetime_select("post", "updated_at", { :discard_minute => true }, { :disabled => true })
datetime_select("post", "updated_at", :discard_minute => true , :disabled => true)
both these variants work now
closes #7431
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions