do not specifiy order for a scope that does not have to do with order

This commit is contained in:
Maxwell Salzberg 2011-11-06 21:16:57 -08:00
parent 0fc43b580b
commit 35216808e0

View file

@ -178,7 +178,7 @@ class StatusMessage < Post
private
def self.tag_stream(tag_ids)
joins(:tags).where(:tags => {:id => tag_ids}).order("posts.created_at")
joins(:tags).where(:tags => {:id => tag_ids})
end
end