Colin Law wrote: > On 4 August 2010 11:10, Colin Law <clan...@googlemail.com> wrote: >>>> the id and country name for each item in @country list? Doing that >>> UK Show Edit Destroy >>> France Show Edit Destroy >>> Germany Show Edit Destroy >> >> Is that from code inserted in the view at the same point as the >> collection_select? > > You replied showing the trace (but not actually as a reply to this > post) but did not answer the above question > > Colin
Problem solved, I had not put the @country_list into the other methods - such as the index one. This now worked and I can create a drop down populated from the table. Now I am presuming the select statement will pop the id into the country field in my created users table. However I cannot seem to find it in the actual data tables. Plus also how best to validate drop down boxes? -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.