MySQL, Rails ActiveRecord date grouping and timezones

I want to count users by creation date. When I query my last user, I have: > User.last.created_at => Thu, 07 Aug 2014 21:37:55 BRT -03:00 When I count users per date I get this: > User.