Update app/models/post.rb