17 May 15:00
Re: Select and how to read the api
From: Phlip <phlip2005@...>
Subject: Re: Select and how to read the api
Newsgroups: gmane.comp.lang.ruby.rails
Date: 2008-05-17 13:00:00 GMT
Subject: Re: Select and how to read the api
Newsgroups: gmane.comp.lang.ruby.rails
Date: 2008-05-17 13:00:00 GMT
> <%= select 'user', 'age', > ['','10-20','20-30','30-40','40-50','50-60','60-70','70+'], :selected => > @selected_value %> > Is that described in the api? I can't find it. Try select_tag (And note to whoever named a method 'select' - please don't!!!) --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk@... To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@... For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
RSS Feed