try using {:time => false, :start_year => 0.years.from_now, :end_year =>
3.years.from_now}is the time false option not working also? On Thu, Mar 5, 2009 at 11:18 AM, BillSaysThis <[email protected]> wrote: > > > http://groups.google.com/group/activescaffold/browse_thread/thread/587d8e0381c38c2/e82e06e0c7cfa05c?lnk=gst&q=calendar+options+hash#e82e06e0c7cfa05c > > In the above (8 month old) thread a bug in passing options to calendar > selects is mentioned, and does not seem to have been fixed yet. Is > this going to be fixed or do we always need to use the form column > partial as a workaround? > > This is what I'd like to use, in fact I'd like to make it the default > setting for calendar_date_select if there's a way to do it: > > config.columns[:membership_expires].options = {:time => > false, :year_range => 0.years.from_now..3.years.from_now} > > Thanks! > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
