ruby select helpers

Pingu Penguin wrote:

Can anyone tell me when i should be using the different select helpers

select(object, method, collection, options = {}, html_options = {})

select_tag(name, option_tags = nil, options = {})

Use the first when @object is an instance of an Active Record model. It automatically sets a suitable name attribute for posted parameters, and also automatically selects the current value of @object.method.

Use the second for full custom control over the name and selected value.