Displaying 1 result from an estimated 1 matches for "channel_items".
2006 Apr 11
1
acts_as ... hourly_list?
...st of
Events, ordered by position (because I''m using acts_as_list).
Later I use a method in Channel to recalculate the hour when that show
come online, based on the duration of it and doing math based on the
previous one duration and start time, starting from 0:00.
So, with this info (channel_items):
id | channel_id | event_id | position | starttime
1 | 1 | 3 | 1 |
2 | 1 | 5 | 2 |
3 | 1 | 2 | 3 |
4 | 1 | 1 | 4 |
[...]
After processing it with recalculate_hours get this (all starting
00:00):
id...