       room = new Room()
       room.title = body.title
       room.text = processRoomText(body.text)
+      console.log("text", room.text)
       
       delete body.title
       delete body.text

      Room.findById req.params.roomId, (err, room) ->
         room.title = body.title
         room.text = processRoomText(body.text)

         delete body.title
         delete body.text

   return app


processRoomText = (text) -> return text.split(/\r?\n~\r?\n/g)
parseBody = (body, room) ->
   exits = []
   objects = []
