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