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
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/61c753c8-49e8-46eb-9fbb-3de0c053d182%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.