# Module: ActionView::Helpers::DateHelper

**URL:** <https://www.ruby-forum.com/t/module-actionview-datehelper/170009>\
**Category:** Rails\
**Created:** [June 11, 2009, 9:42am UTC](https://www.ruby-forum.com/t/module-actionview-datehelper/170009 "2009-06-11T09:42:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nike](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dbc845/32.png) [@nike](https://www.ruby-forum.com/u/nike)\
**Post date:** [June 11, 2009, 9:42am UTC](https://www.ruby-forum.com/t/module-actionview-datehelper/170009/1 "2009-06-11T09:42:04Z")

</div>

hi i am using date\_select helper for displaying month day and year.I am  
trying to show month and year by the options of the helper as  
\<%=date\_select( “post”, “written\_on”, :discard\_day =\> true)%\>

But i am getting error as  
undefined method `styled\_input’ for  
#ActionView::Helpers::DateTimeSelector:0x7f556dbb6678

Please help me

---

<div class="post-metadata">

**Author:** ![nike](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dbc845/32.png) [@nike](https://www.ruby-forum.com/u/nike)\
**Post date:** [June 11, 2009, 6:31pm UTC](https://www.ruby-forum.com/t/module-actionview-datehelper/170009/2 "2009-06-11T18:31:57Z")

</div>

Aren’t you using any kind of date\_select plugin?

- 

Maurício Linhares  
[http://codeshooter.wordpress.com/](http://codeshooter.wordpress.com/) | [http://twitter.com/mauriciojr](http://twitter.com/mauriciojr)

On Thu, Jun 11, 2009 at 4:42 AM, Nike
