How do I count updated records by date in rails? Next I have to receive this data in an array format to repass and convert to json. I have Table A that has many of Table B Through A I have to count how many records were updated per day in table B. For example 02/02 day 5 records updated, day 03/02 9 records, day 04/02 10 records, day 05/02 0 registrations.
This is to generate a graph, I'm getting it to do, the methods are getting very big and I think it has a much simpler shape, does anyone know if it has to do this?