Hi, added following line after listening to one of the railscasts on formatting date and time: Time::DATE_FORMATS[:due_time] = "%I:%M %p" Now i am adding a new column to one of my tables in the database and rails is giving following error: /var/www/html/myapp/pms080204/config/environment.rb:59: uninitialized constant Time::DATE_FORMATS (NameError) Please help. Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---