       Room.findById req.params.roomId, (err, room) ->
          room.title = body.title
          room.text = processRoomText(body.text)
+         console.log("text", room.text)
 
          delete body.title
          delete body.text

   return app


processRoomText = (text) -> return text.split('~')
parseBody = (body, room) ->
   exits = []
   objects = []

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