this is unnecessary -- Post.all will return an empty array if there are no records. dont take my word for it, test it out!