Sha256: ae3e6a22bc456bbd1a29f669aa074942e9306022ade14657aed8193655713701
Contents?: true
Size: 534 Bytes
Versions: 6
Compression:
Stored size: 534 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::Mappings extend ActsAsIcontact::Rails::ClassMethods::Macro end end end
Version data entries
6 entries across 6 versions & 2 rubygems