Select nth element only(not all elements) sorted by a specific column
last_post = Post.limit(1).offset(2999).order("created_at desc")