Sha256: 5f4aa3cdf86bd6728cff4cfb0245e522cd28f704b6b12d7242249001846e9256

Contents?: true

Size: 389 Bytes

Versions: 2

Compression:

Stored size: 389 Bytes

Contents

# frozen_string_literal: true

require 'clowne/ext/orm_ext'

module Clowne
  module Adapters
    # Cloning adapter for ActiveRecord
    class ActiveRecord < Base; end
  end
end

ActiveSupport.on_load(:active_record) do
  ::ActiveRecord::Base.extend Clowne::Ext::ORMExt
end

require 'clowne/adapters/active_record/associations'
require 'clowne/adapters/active_record/resolvers/association'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
clowne-1.1.0 lib/clowne/adapters/active_record.rb
clowne-1.0.0 lib/clowne/adapters/active_record.rb