From: "Lance Ivy" <la...@cainlevy.net>
Date: Tue, 17 Apr 2007 09:09:58 -0700
Local: Tues, Apr 17 2007 12:09 pm
Subject: Re: How to use start_year and end_year on a date column
we added a :name option to the date/time selects so that you can use the select_date :record, :name => input_name, ... On 4/17/07, Vorik <goo...@gerapeldoorn.nl> wrote: > I'm a bit further. Now I'm using (in the helper) > select_date record[:geboortedatum], :prefix => > This makes the code for the select like this (note the name field): > Without the override in the helper (which does save the values in the > My code gives the value in a hash (record_geboortedatum[day]). It > How can I achieve this little miracle??? > Greetings & Salutations, > On 17 apr, 09:30, Vorik <goo...@gerapeldoorn.nl> wrote: > > ---------------leerling_helper.rb--------------- > > The override is beiing used (order changed), but the values are not > > I think it is because of the select's name. Here is an excerpt of the > > Shouldn-t that be name="geboortedatum[day]"? > > how can I change it? > > Many thanks, > > > Hi Ger, > > > Your best bet here is probably to override the column on the form and > > > On 4/15/07, Vorik <goo...@gerapeldoorn.nl> wrote: > > > > Hi all, > > > > I'm trying to insert a record containing a birthdate with > > > > How can I set the starting year? With standard rails it is set like > > > > date_select :geboortedatum, :order => > > > > The funny thing is that in 'edit mode', the years start at 1969 but > > > > Thanks in advance, You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||