On Mon, Mar 14, 2011 at 9:33 PM, robvelor <[email protected]>wrote:
> Thanks for the links. That tutorial is great, but it doesn't answer my > question, I want to be able to select an option of the third model > (country) and not insert a new country everytime a new guest is > created. > > oh i see you just want to use collection select to be able to choose a country, here , read about collection select http://api.rubyonrails.org/classes/ActionView/Helpers/FormOptionsHelper.html if you are still confused try using simple_form it has a country select plugin https://github.com/plataformatec/simple_form -- 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.

