diff options
author | Louise Crow <louise.crow@gmail.com> | 2012-09-13 16:22:17 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2012-09-13 16:22:17 +0100 |
commit | 0ec315c52a731ff149977b9231a15770fa3bd742 (patch) | |
tree | a6a73b67dd3d2129e539350c1a763633eb961aaa /spec/controllers/user_controller_spec.rb | |
parent | 76b4697ae2490fc227ac0f150d07b74bb3ca5fa3 (diff) |
Paginate the timeline to allow it to render in a reasonable amount of time. In order to avoid sorting large numbers of objects in order to get the right order of combined events across the two model types, get the overall order first from the database and then populate the slice we're interested in.
Diffstat (limited to 'spec/controllers/user_controller_spec.rb')
0 files changed, 0 insertions, 0 deletions