Expose class in DocumentNotFound exception

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • 3.0.15
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Quite a simple thing really. It would be nice to be able to see the class that wasn't found when a Mongoid::Errors::DocumentNotFound is raised, so we can rescue and apply some logic.

              Assignee:
              Durran Jordan
              Reporter:
              Ben Symonds
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: