forgot to add attr_accessor to post model