datetime_select :include_blank clobbers :default option

22 views
Skip to first unread message

Ilia Zemskov

unread,
Jun 6, 2011, 11:35:08 AM6/6/11
to rubyonra...@googlegroups.com
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
/////

Prem Sichanugrist

unread,
Jun 6, 2011, 11:55:46 AM6/6/11
to rubyonra...@googlegroups.com
Maybe because there was no one sending patch in? Koz?

- Prem

> --
> 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 rubyonra...@googlegroups.com.
> To unsubscribe from this group, send email to rubyonrails-co...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
>

Michael Koziarski

unread,
Jun 6, 2011, 4:48:26 PM6/6/11
to rubyonra...@googlegroups.com
> Maybe because there was no one sending patch in? Koz?

It certainly wasn't left that way deliberately yea.


--
Cheers

Koz

Reply all
Reply to author
Forward
0 new messages