You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
I added a migration to add a datetime object column to my database. It
all works great, and I can edit it and everything using the
select_date helper for forms.
BUT when I try to format the date using gallery.gallery_date.to_s
(:short) I get an error:
"wrong number of arguments (1 for 0)"
How do I do this?
Vladimir Rybas
unread,
May 15, 2009, 4:11:25 AM5/15/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
Shouldn't it be
gallery_date.to_formatted_s(:short)
?