Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-1054

Raise a Mongoid::Errors::UnknownAttributeError when you try update or assigned an attribute not define in field and you don't allow_dynamic_field

    • Type: Icon: Task Task
    • Resolution: Done
    • 3.0.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Before this pull request a UnknowMethod is return. In the ActiveRecord way a UnknowAttributeError si raised. I think it's better to do that because more easy to catch.

            Assignee:
            Unassigned Unassigned
            Reporter:
            shingara Cyril Mougel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: