I\'m having problem with the date format of rails. It seems to me that the default Date Format is dd/mm/yyyy. How am I gonna change it to something like m
dd/mm/yyyy
m
Put following line in your enviroment.rb
Date::DATE_FORMATS.merge!(:default => "%m/%d/%Y")
and try
Time.now.to_date.to_s
On you rails console