Ilia Zemskov
2011-Jun-06 15:35 UTC
datetime_select :include_blank clobbers :default option
Hey guys, "Currently with datetime_select, if you set :include_blank => true, it overrides any :default you may have specified." — you''ve discussed this weird behavior three years ago, and decided to eliminate it (as I understand it): http://groups.google.com/group/rubyonrails-core/browse_thread/thread/34cbf2c2c8197cca Is there any reason why it still behaves like this? Ilia ///// -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
Prem Sichanugrist
2011-Jun-06 15:55 UTC
Re: datetime_select :include_blank clobbers :default option
Maybe because there was no one sending patch in? Koz? - Prem On Jun 6, 2011, at 11:35 AM, Ilia Zemskov wrote:> Hey guys, > > "Currently with datetime_select, if you set :include_blank => true, it > overrides any :default you may have specified." — you''ve discussed > this weird behavior three years ago, and decided to eliminate it (as I > understand it): > http://groups.google.com/group/rubyonrails-core/browse_thread/thread/34cbf2c2c8197cca > > Is there any reason why it still behaves like this? > > Ilia > ///// > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. > To post to this group, send email to rubyonrails-core@googlegroups.com. > To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
Michael Koziarski
2011-Jun-06 20:48 UTC
Re: datetime_select :include_blank clobbers :default option
> Maybe because there was no one sending patch in? Koz?It certainly wasn''t left that way deliberately yea. -- Cheers Koz -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.