Hi,
Timer has_many points
and I want to create timeline, where timer.start(Time.now)
every moment i can timer.points.create(Time.now)
and of course timeline have a timer.end(Time.now)
point_params(:id, :time)
How reorganizing timer.points in simple timer with diapasons, where, for exemple, Timeline.new{timer.points.first(0…5), timer.points.second(6…12) … timer.points.last(39…44)} ?
Any solutions, ideas, practice?
TY