[EMAIL PROTECTED] wrote:
> I am trying to figure out how to use the "select" helper in changing a
> <%= f.select :year %>
> 
> but that never works.
> Any help?
try this

<%= f.select :year ,Time.now.year-100..Time.now.year %>
-- 
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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to