Convert Number (1-12) into Month (Word)

Hi All,

Checked the API and archives, but can't seem to find anything. Before
I roll my own I thought I would ask if this exists...

I have a field in the DB that stores a month as a number from 1 to
12. I would like to convert that for use in a view as the word for
the month. So 1 => January, 2=> February, and so on.

Is there a function for this, or am I on my own?

Thanks!

http://corelib.rubyonrails.org/classes/Date.html

Date::MONTHNAMES

month = 1
Date::MONTHNAMES[month]

=> 'January'

-christos