lib/scrivito/obj_collection.rb in scrivito_sdk-1.8.1 vs lib/scrivito/obj_collection.rb in scrivito_sdk-1.9.0.rc1
- old
+ new
@@ -100,9 +100,13 @@
def find_by_parent_path(path)
find_by(:ppath, [path]).first
end
+ def find_by_parent_path_including_deleted(path)
+ find_by_including_deleted(:ppath, [path]).first
+ end
+
def find_by_id(id)
find_by(:id, [id]).first.first
end
def find_by_paths(paths)