rails/rails — pull request #8965 by colinbm (2013-01-16 19:00:05+00:00)
Title: Fix date_select :selected option so you can pass it nil

I realised my previous change did not allow you to override the date to `nil`, since `nil || value`, will not return `nil`.

Updated to check if the `:selected` option is defined at all.

Guessing this doesn't need further changelog entry, as it's a follow up to previous change...?

References:
https://github.com/rails/rails/pull/8938
https://github.com/rails/rails/pull/8925