separated pool/post updates; fixed unit tests

This commit is contained in:
albert
2011-03-13 17:49:34 -04:00
parent 4717726217
commit 90a41a334b
13 changed files with 83 additions and 1334 deletions

View File

@@ -13,7 +13,7 @@ module PostSets
end
def load_posts
@posts = pool.posts(:limit => limit, :offset => offset)
@posts = pool.posts(:limit => limit, :offset => offset).order("posts.id")
end
def sorted_posts