Displaying 1 result from an estimated 1 matches for "my_beautiful_d".
2006 Jun 14
3
How to use at_beginning_of_year
I want to get the Date in formation YYYY-MM-DD for the start of the
current year
But I cannot think how to do it...
This generates a name error .rhtml view.
<%= at_beginning_of_year.Time.now %>
--
Posted via http://www.ruby-forum.com/.