Rather than putting a guard in the view to only show published squmbls, you should update `@posts` to only include published squmbls, preferably by using a named scope on the Post model.  e.g. using `scope :published, where(published: true)` in the model and then `Post.published.all` in the controller.