Closed austinarchibald closed 9 years ago
That's weird. Are you on the latest version of chartjs-ror? What version of Rails are you running?
using chartjs-ror 2.2.0 & Rails 4.2.2
This may already been addressed elsewhere, but it seems to be a typo in the readme:
# config/initializers/chartjs.rb
Chartjs.no_conflict!
should do it.
lol... I honestly had to look at what you typed for like 30 seconds, thinking to myself, it's exactly what I have in my initializer... hahaha that l is hard to spot! Unbelievable it was just that. And I didn't even see it.
Thank you!
Sorry about that! Well spotted @b1592.
It's fixed in 79f28cfd.
As README says, I added:
But I get
undefined method
no_confict!' for Chartjs:Module (NoMethodError)`? File is correctly place, lines added to application.js. Server won't load. Was trying to add this to remove any conflict with chartkick.