I understand you as wanting to have a default selection. If that's correct then I would look into the options_for_select helper. It allows you to set a selected tag. Just make sure the selected object matches the type in your collection. Collection_select only selects the value if it was previously saved to the database.
On Jul 27, 12:06 pm, Hans Hartmann <[email protected]> wrote: > can anyone help me? > > -- > Posted viahttp://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 [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 -~----------~----~----~----~------~----~------~--~---

