config.columns[:meeting_date].options = {:start_year =>
0.years.from_now, :end_year => 3.years.from_now}Shows many more than three years... Since I don't need the time, I changed the field type from datetime to a date. On Mar 5, 9:30 am, Kenny Ortmann <[email protected]> wrote: > 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/58... > > > 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 -~----------~----~----~----~------~----~------~--~---
