Notes posted by hechien
RSS feed
hechien -
January 28, 2016
0 thanks
the method to make 'day' disappear.
If you wanna show “year” and “month” only, you can use “order” to do it:
select_date(Date.current, order: [:year, :month])
That’s it.