I know about pagination but dont want to use that option if it all
How in a collection of posts can i check if the there is a next item in
the collection and then add that an object.
//Returns all the posts into a collection called posts
@posts = Post.find(:all)
//Returns a specific post based on an id
@post = Post.find(params[:id])
//How can i return the next post something similar to below. Do i need
to write a custom Post.find_next_item(params:id) in the post model?
@nextpost = Post.find(params[:id]).Next
Can anyone point me in the right direction?