Add image to post. Not working in Rails 4