I am new in ruby and I am having a problem using Chartkick. I am using this code
<%= area_chart MediaDownload.select("COUNT(*) as count_all , monthname(created_at) as created_at").group('created_at') %>
What I want to achieve is to get a area chart with information per month (displaying month names), but instead I am receiving this graphic
What am I doing wrong.