Created post controller, fixed error with updating in environments/development.rb