Re: [Rails] Re: form select not saving to the database

2010-06-16 Thread Colin Law
On 16 June 2010 09:40, Pale Horse wrote: > Marnen Laibow-Koser wrote: >> the batman wrote: >>> <%= f.label :type %> >>> <%= f.select(:type, ["original","print","other"]) %> >>> >>> I have a photos model and added a drop-down list to the form, when the >>> option is selected, the correct parameters

[Rails] Re: form select not saving to the database

2010-06-16 Thread Pale Horse
Marnen Laibow-Koser wrote: > the batman wrote: >> <%= f.label :type %> >> <%= f.select(:type, ["original","print","other"]) %> >> >> I have a photos model and added a drop-down list to the form, when the >> option is selected, the correct parameters are passed but it is not >> saved to the databas

[Rails] Re: form select not saving to the database

2010-06-15 Thread Marnen Laibow-Koser
the batman wrote: > <%= f.label :type %> > <%= f.select(:type, ["original","print","other"]) %> > > I have a photos model and added a drop-down list to the form, when the > option is selected, the correct parameters are passed but it is not > saved to the database. > I've googled this and looked a

[Rails] Re: form select not saving to the database

2010-06-15 Thread Marnen Laibow-Koser
the batman wrote: > <%= f.label :type %> > <%= f.select(:type, ["original","print","other"]) %> > > I have a photos model and added a drop-down list to the form, when the > option is selected, the correct parameters are passed but it is not > saved to the database. > I've googled this and looked a

[Rails] Re: form select not saving to the database

2010-06-15 Thread Frederick Cheung
On Jun 15, 4:48 pm, the batman wrote: > <%= f.label :type %> > <%= f.select(:type, ["original","print","other"]) %> > > I have a photos model and added a drop-down list to the form, when the > option is selected, the correct parameters are passed but it is not > saved to the database. > I've goo