             throw "Define #{key} in @attrs for '#{expected}' model"
 
           z.set("#{key}", self.get(back))
-          #TODO: logs
+
 
     #TODO: refactor this
     for klass in @has_one()

  # @note not support a relations
  to_html: () ->
    to = @constructor.to
    for key, attrs of to
      value = @get(key)
      tag = attrs["tag"] || "div"
      clone = {}
      for key, v of attrs when key isnt "tag" then clone[key] = v

      SiriusApplication.adapter.element(tag, value, clone)

  # Create a new model instance from json structure.
  # @note not support a relations
  #

            throw "Define #{key} in @attrs for '#{expected}' model"

          z.set("#{key}", self.get(back))


    if Object.keys(obj).length != 0
