Project Description

Goal of this project is to have a simple way to configure the collection of historical data in Rails active record models to render graphs.

My goal is to simply configure which fields/methods to watch, like:

record_time_series_for :users_count record_time_series_for physical_systems_count: proc { systems.physical.count }

and then render a graph showing the values over time like this:

area_chart subscription.time_series_for_chart(:physical_systems_count)

Example

Example from SCC

Resources:

Chartkick: https://chartkick.com/

Looking for hackers with the skills:

rails ruby rubygems timeseries

This project is part of:

Hack Week 22

Activity

  • over 2 years ago: hennevogel liked this project.
  • over 2 years ago: digitaltomm started this project.
  • over 2 years ago: digitaltomm added keyword "rails" to this project.
  • over 2 years ago: digitaltomm added keyword "ruby" to this project.
  • over 2 years ago: digitaltomm added keyword "rubygems" to this project.
  • over 2 years ago: digitaltomm added keyword "timeseries" to this project.
  • over 2 years ago: digitaltomm originated this project.

  • Comments

    Be the first to comment!

    Similar Projects

    Recipes catalog and calculator in Rails 8 by gfilippetti

    My wife needs a website to catalog and sell the products of her upcoming bakery, and I need to learn and practice modern Rails. So I'm using this Hack Week to build a modern store using the latest Ruby on Rails best practices, ideally up to the deployment.

    TO DO

    • Index page
    • Product page
    • Admin area -- Supplies calculator based on orders -- Orders notification
    • Authentication
    • Payment
    • Deployment

    Day 1

    As my Rails knowledge was pretty outdated and I had 0 experience with Turbo (wich I want to use in the app), I started following a turbo-rails course. I completed 5 of 11 chapters.

    Day 2

    Continued the course until chapter 8 and added live updates & an empty state to the app. I should finish the course on day 3 and start my own project with the knowledge from it.

    Hackweek 24

    For this Hackweek I'll continue this project, focusing on a Catalog/Calculator for my wife's recipes so she can use for her Café.

    Day 1


    Recipes catalog and calculator in Rails 8 by gfilippetti

    My wife needs a website to catalog and sell the products of her upcoming bakery, and I need to learn and practice modern Rails. So I'm using this Hack Week to build a modern store using the latest Ruby on Rails best practices, ideally up to the deployment.

    TO DO

    • Index page
    • Product page
    • Admin area -- Supplies calculator based on orders -- Orders notification
    • Authentication
    • Payment
    • Deployment

    Day 1

    As my Rails knowledge was pretty outdated and I had 0 experience with Turbo (wich I want to use in the app), I started following a turbo-rails course. I completed 5 of 11 chapters.

    Day 2

    Continued the course until chapter 8 and added live updates & an empty state to the app. I should finish the course on day 3 and start my own project with the knowledge from it.

    Hackweek 24

    For this Hackweek I'll continue this project, focusing on a Catalog/Calculator for my wife's recipes so she can use for her Café.

    Day 1