# Can the "discard\_day" option be used with the select\_date helper?

**URL:** <https://www.ruby-forum.com/t/can-the-discard-day-option-be-used-with-the-select-date-helper/138343>\
**Category:** Rails\
**Created:** [May 22, 2008, 6:05am UTC](https://www.ruby-forum.com/t/can-the-discard-day-option-be-used-with-the-select-date-helper/138343 "2008-05-22T06:05:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ccuilla](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/77aa72/32.png) [@ccuilla](https://www.ruby-forum.com/u/ccuilla)\
**Post date:** [May 22, 2008, 6:05am UTC](https://www.ruby-forum.com/t/can-the-discard-day-option-be-used-with-the-select-date-helper/138343/1 "2008-05-22T06:05:39Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ccuilla](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/77aa72/32.png) [@ccuilla](https://www.ruby-forum.com/u/ccuilla)\
**Post date:** [May 22, 2008, 6:13am UTC](https://www.ruby-forum.com/t/can-the-discard-day-option-be-used-with-the-select-date-helper/138343/2 "2008-05-22T06:13:50Z")

</div>

Isn’t it date\_select?

On Thu, May 22, 2008 at 1:34 PM, ccuilla [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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](http://workingwithrails.com/person/11030-ryan-bigg)

---

<div class="post-metadata">

**Author:** ![ccuilla](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/77aa72/32.png) [@ccuilla](https://www.ruby-forum.com/u/ccuilla)\
**Post date:** [May 23, 2008, 6:41am UTC](https://www.ruby-forum.com/t/can-the-discard-day-option-be-used-with-the-select-date-helper/138343/3 "2008-05-23T06:41:54Z")

</div>

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 B. (Radar)” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
