When i use, Date::DATE_FORMATS[:default] = "%m/%d/%Y"
in environment.rb file or any .rb file in config/initializers, works fine Rails 3.0.1, but the same doesn't work with Rails 3.0.4. Please let me know if there is some other way to define default date formats at application level or if you need any other information. Thanks Chaitanya Sean Corbett wrote in post #913239: > In Rails3 you can run: > > Date::DATE_FORMATS[:default] = "%m/%d/%Y" > > skipping the ActiveSupport::CoreExtensions::... > > see your installation of active support, eg: > > activesupport-3.0.0.beta3/lib/active_support/core_ext/conversions.rb for > more info. > -- Posted via http://www.ruby-forum.com/. -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

