------ art_39222_29073781.1156153401314 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline The file you need to edit is _form.rhtml partial template and not the new.rhtml, mainly the options of the datatime_select method Check http://api.rubyonrails.com/classes/ActionView/Helpers/DateHelper.html#M000469to see what options you can use, for example :start_year 1995 ... etc.. -- Thank you and kind regards Rida Al Barazi http://www.ridaalbarazi.com On 8/21/06, Paul Johnston <paul.johnston / manchester.ac.uk> wrote: > > Hi > I'm new to rails and ruby and am working through Agile Web Development > with Rails Edition 1 and have a question if someone could point me in > the right direction. > I have my table which has a datetime field > I generate a scaffold and in the new.rhtml page I get drop down lists > enabling me to choose a date. > If I wished to modify the range of available dates i.e. the years > where does scaffold look to choose this data ? > TIA Paul > > ------ art_39222_29073781.1156153401314--