I have a question object with the created_at attribute. When I find the question, I will return created_at from the REST service, but Activeresource does not convert the date string to DateTime.
Question.find(1) /questions/1.json Question.find(1).created_at.class => String
What format should the Json response be for ActiveResource to convert it to DateTime?
If this is not possible, what should I do?
Piioo source share