lib/active_fedora/base.rb in active-fedora-9.0.0.rc3 vs lib/active_fedora/base.rb in active-fedora-9.0.0
- old
+ new
@@ -1,9 +1,10 @@
SOLR_DOCUMENT_ID = "id" unless (defined?(SOLR_DOCUMENT_ID) && !SOLR_DOCUMENT_ID.nil?)
ENABLE_SOLR_UPDATES = true unless defined?(ENABLE_SOLR_UPDATES)
require 'active_support/descendants_tracker'
require 'active_fedora/errors'
+require 'active_fedora/log_subscriber'
module ActiveFedora
# This class ties together many of the lower-level modules, and
# implements something akin to an ActiveRecord-alike interface to
@@ -24,9 +25,10 @@
# Attached files defined with +contains+ are accessed via the +attached_files+ member hash.
#
class Base
extend ActiveModel::Naming
extend ActiveSupport::DescendantsTracker
+ extend LdpCache::ClassMethods
include Core
include Persistence
include Indexing
include Scoping