Hi -
Does anyone know how to add a selection to this helper:
Hi -
Does anyone know how to add a selection to this helper:
If you're running Rails 2.3 then select_year accepts the :prompt option, so...
select_year(date, :prompt => 'Select a year')
...would work. If you're on an older version of Rails, you'll need to do some DIY
Thanks - I should have caught that.
Best, NB