config/initializers/active_fedora_base.rb in ddr-models-3.0.0.alpha.4 vs config/initializers/active_fedora_base.rb in ddr-models-3.0.0.beta.1

- old
+ new

@@ -1,7 +1,6 @@ -module ActiveFedora - class Base +ActiveFedora::Base.class_eval do def can_have_attachments? has_association? :attachments end @@ -24,12 +23,13 @@ def has_content? can_have_content? && content.has_content? end def describable? - self.is_a? Ddr::Models::Describable + self.is_a? Ddr::Models::Base end + deprecation_deprecate :describable? def governable? has_association? :admin_policy end @@ -83,7 +83,6 @@ def has_association? assoc !association(assoc).nil? end - end end