Method to find recent posts in model rather than controllers