moustafasamir
3/5/2013 - 1:27 PM

Select nth element only(not all elements) sorted by a specific column

Select nth element only(not all elements) sorted by a specific column

last_post = Post.limit(1).offset(2999).order("created_at desc")