lib/brief/model.rb in brief-1.5.2 vs lib/brief/model.rb in brief-1.6.0
- old
+ new
@@ -106,11 +106,11 @@
def extract_content(options = {})
document.extract_content(options)
end
module ClassMethods
- def purge
- models.reject! {|model| !model.document.path.exist? }
+ def ==(other)
+ type_alias && type_alias == other.type_alias
end
def to_schema
{
schema: {