RailsCod3rFuture said about 7 years ago on Charts and Graphs :

The group_by_day & and group_by_month, methods are not being found for some reason. It throws an undefined method error for model, when I try to use the it in my view. I don't know if its an issue with the gem or Postgres compatibility.

Thanks.