Working on bug in posts.rb for my edit page