1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib
Vasiliy Ermolovich 130fe2b172 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
2012-08-25 19:02:41 +03:00
..
abstract_controller add lazy look up in abstract controller's translate method 2012-07-18 10:33:14 +03:00
action_controller Extract ActiveRecord::SessionStore from Rails 2012-08-24 15:24:19 -04:00
action_dispatch Get rid of config.preload_frameworks in favor of config.eager_load_namespaces 2012-08-21 14:47:19 -03:00
action_pack
action_view correct handling of date selects when using both disabled and discard options 2012-08-25 19:02:41 +03:00
abstract_controller.rb load active_support/core_ext/module/delegation in active_support/rails 2012-08-02 21:59:23 +02:00
action_controller.rb Get rid of config.preload_frameworks in favor of config.eager_load_namespaces 2012-08-21 14:47:19 -03:00
action_dispatch.rb Get rid of config.preload_frameworks in favor of config.eager_load_namespaces 2012-08-21 14:47:19 -03:00
action_pack.rb
action_view.rb Get rid of config.preload_frameworks in favor of config.eager_load_namespaces 2012-08-21 14:47:19 -03:00