Rails 3, 4 wrapper for flot