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 mm/dd/yyyy?
I read somewhere that ActiveSupport gem can handle this but I don’t how it works.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Put following line in your enviroment.rb
and try
On you rails console