Forum: Ruby on Rails options_from_collection_for_select

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Pa S. (Guest)
on 2007-01-04 12:18

I have an array with dates. Now I'd like to show them in a drop-down
menu, like a collection-select-list. But I'd like to show them in the
format "4.1.07" and not in the format "Thu Jan 04 00:00:00 +0100 2007".

How can I do this?

This topic is locked and can not be replied to.