Displaying Time drop down.

Hi everybody,

I'm newbie to rails. And I want to display a drop down like.

Hours : Minutes : AM\PM

where, Hours - 00 , 01 ............. 12,        Minutes - 00, 15, 30, 45        AM/PM

Is it possible. But I tried like.

<%= time_select (:object, :method, ampm => true, interval => 15 ) %>

But its not working. Can anyone help.

--
Posted via http://www.ruby-forum.com/.

>

How strange my text didn’t show.

I beleive that this covers it early on:

http://railscasts.com/episodes/32

Cheers,

Zach Inglis

→ Blog – http://www.zachinglis.com

→ Company – http://www.lt3media.com

→ Portfolio – http://portfolio.zachinglis.com