Nope, that doesn't work. To clarify, the year part is supposed to be a
pull down select menu of "Senior, Junior, Sophomore, Freshman"


On Oct 29, 10:11 pm, Thani Ararsu <[EMAIL PROTECTED]>
wrote:
> [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 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to