Sha256: eee86116c1ea5eb235968e34a461c9f42be2c6c33adb047033cad97b1609ae74
Contents?: true
Size: 590 Bytes
Versions: 10
Compression:
Stored size: 590 Bytes
Contents
# Load all of our Rails files Dir[File.join(File.dirname(__FILE__), 'rails', '*.rb')].sort.each do |path| filename = File.basename(path, '.rb') require "acts_as_icontact/rails/#{filename}" end # module ActsAsIcontact # module Rails # module ClassMethods # extend Mappings # extend Macro # end # end # end if defined?(::ActiveRecord) module ::ActiveRecord class Base extend ActsAsIcontact::Rails::ClassMethods::Lists extend ActsAsIcontact::Rails::ClassMethods::Mappings extend ActsAsIcontact::Rails::ClassMethods::Macro end end end
Version data entries
10 entries across 10 versions & 2 rubygems