Rails plugin, store data-points, plot graphs with Dygraph js lib