2009/8/31 Quee Mm <[email protected]>: > >> What does the form_for line look like? > <% form_for @vehicle do |f| %> > >> What does generated html of the select look like? (View, Page Source >> or similar in your browser) > > For New > http://pastie.org/600224 > > For Edit > http://pastie.org/600226 > > >> Have you checked that year_made contains the previous value. Possibly >> put <%= @object.year_made %> in the form to check. > Yes it does.
Odd, it all looks ok to me. Is year_made an integer or a string? I wonder whether it is expecting an integer as all my uses have always been with an id value. Any other ideas anyone? Colin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

