Rails4 put to patch