Say I have some stuff in my database
Item 1 DATETIME (Sometime in Janurary)
Item 2 DATETIME (Sometime in Feburary)
And now the month is March.
I would like to be able to do this in the view effectively:
<%= select( ''donated'', ''donated_on'',
[[''Janurary 2006'', DATETIME for
JAN2006],
[''Feburary 2006'',
DATETIME for
FEB2006],
[''March 2006'', DATETIME
for
MAR2006]]) %>
so that, when the user selects the entry and submits for it, I will be
able to process that data and query the information from my db
accordingly.
--
Posted via http://www.ruby-forum.com/.