这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@akinsgre
Copy link
Contributor

As mentioned in the issues notes, the original code subtracted start_time from end_time

Since Feed.find returned a "created_at desc" sorted result, that meant that start_time often is larger than end_time resulting in a negative value (which is later used as an Array size)

I simple changed one line so that (start_time - end_time)

@iobridge
Copy link
Owner

Merged alternative fix

@iobridge iobridge closed this Feb 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants