so i create in my view:
<%=date=Date.today%>
How do i get the name of the month out of the date? I was trying to do sth like
If you want a localized month name, try:
I18n.t('date.month_names')[date.month]
Example:
I18n.t('date.month_names')[12] #=> "Dezembro"