projects/entity/src/not_found_error.rb in foobara-0.0.30 vs projects/entity/src/not_found_error.rb in foobara-0.0.31
- old
+ new
@@ -1,6 +1,6 @@
module Foobara
- class Entity < Model
+ class Entity < DetachedEntity
class NotFoundError < Foobara::RuntimeError
class << self
def not_found_error_class_name(data_path)
error_class_name = data_path.path.map { |part| part == :"#" ? "Collection" : Util.classify(part) }.join
"#{error_class_name}NotFoundError"