ccuilla
2008-May-22 04:04 UTC
Can the "discard_day" option be used with the select_date helper?
I''d like to be able to use the select_date helper, but exclude the day selection list vs. select_month and select_year. Is that possible? It doesn''t seem to work, but thought I''d ask in case I might be doing something wrong. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ryan Bigg (Radar)
2008-May-22 04:12 UTC
Re: Can the "discard_day" option be used with the select_date helper?
Isn''t it date_select? On Thu, May 22, 2008 at 1:34 PM, ccuilla <ccuilla-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I''d like to be able to use the select_date helper, but exclude the day > selection list vs. select_month and select_year. Is that possible? It > doesn''t seem to work, but thought I''d ask in case I might be doing > something wrong. > > > > >-- Appreciated my help? Recommend me on Working With Rails http://workingwithrails.com/person/11030-ryan-bigg --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
ccuilla
2008-May-23 04:41 UTC
Re: Can the "discard_day" option be used with the select_date helper?
Depends on whether you''re using it with form_for or form_tag. I''m using form_tag so it is select_date. On May 21, 10:12 pm, "Ryan Bigg (Radar)" <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Isn''t it date_select? > > On Thu, May 22, 2008 at 1:34 PM, ccuilla <ccui...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I''d like to be able to use the select_date helper, but exclude the day > > selection list vs. select_month and select_year. Is that possible? It > > doesn''t seem to work, but thought I''d ask in case I might be doing > > something wrong. > > -- > Appreciated my help? > Recommend me on Working With Railshttp://workingwithrails.com/person/11030-ryan-bigg--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---