ankane / chartkick

Create beautiful JavaScript charts with one line of Ruby
https://chartkick.com
MIT License
6.35k stars 570 forks source link

added default scope warding #561

Closed yshmarov closed 3 years ago

yshmarov commented 3 years ago

That's a funny problem I had to figure out the hard way. Hope it helps someone a few minutes :)

ankane commented 3 years ago

Hey @yshmarov, thanks for the PR! I'm guessing this is in reference to https://github.com/ankane/groupdate/issues/246. I think the Groupdate readme is a better place for it, so added a note there: https://github.com/ankane/groupdate#default-scopes.