 #
 #   class MyModel extends Sirius.BaseModel
 #     @attrs: ["id", {title: "default title"}, "description"]
-#     @to:
-#       id          : tag: "b", class: 'my-model-id'
-#       title       : tag: "span", class: "my-model-title"
 #
 #   class Person extends BaseModel
 #     @attrs: ["id", "name"]
 #
 #     @has_many: [Group]
-#
-#     @form_name: "person-model"
 #
 #     @guid_for: id
 #

#       name:
#         presence: true
#         format: with: /^[A-Z].+/
#
#     @to:
#       id          : tag: "b", class: 'person-id'
#       name        : tag: "span", class: "person-name"
#       group       : tag: "p", class: "group"
#
#     to_string: () ->
#       "name: #{name}; id: #{id}, group count: #{@get('group').length}"

          json[attr]
        m.set(attr, value || m.get(attr))
    m

  # usage for comparing models
  # When equal return true, otherwise return false
