Sha256: f47a61496f84f319ada4eb3740ca744504f0edd529460c19ce397fbcde5af62e

Contents?: true

Size: 295 Bytes

Versions: 34

Compression:

Stored size: 295 Bytes

Contents

# Requires all files in the Acts As directory
#
# This adds the ContentBlock behavior to all Active Record objects.
Dir["#{File.dirname(__FILE__)}/acts/*.rb"].each do |b| 
  require File.join("cms", "acts", File.basename(b, ".rb"))
end
ActiveRecord::Base.send(:include, Cms::Acts::ContentBlock)

Version data entries

34 entries across 34 versions & 2 rubygems

Version Path
browsercms-artirix-4.0.4 lib/cms/acts.rb
browsercms-artirix-4.0.3.3 lib/cms/acts.rb
browsercms-artirix-4.0.3.2 lib/cms/acts.rb
browsercms-artirix-4.0.3.1 lib/cms/acts.rb
browsercms-artirix-4.0.3 lib/cms/acts.rb
browsercms-artirix-4.0.2 lib/cms/acts.rb
browsercms-artirix-4.0.1.1 lib/cms/acts.rb
browsercms-artirix-4.0.0.rc1.art4 lib/cms/acts.rb
browsercms-4.0.0.rc1 lib/cms/acts.rb
browsercms-4.0.0.beta lib/cms/acts.rb
browsercms-4.0.0.alpha lib/cms/acts.rb
browsercms-3.5.7 lib/cms/acts.rb
browsercms-3.5.6 lib/cms/acts.rb
browsercms-3.5.5 lib/cms/acts.rb
browsercms-3.5.4 lib/cms/acts.rb
browsercms-3.5.3 lib/cms/acts.rb
browsercms-3.5.2 lib/cms/acts.rb
browsercms-3.5.1 lib/cms/acts.rb
browsercms-3.5.0 lib/cms/acts.rb
browsercms-3.5.0.rc3 lib/cms/acts.rb