Sha256: c909f013f0fb171eead79634151eb70be442d249daee79b53159c78cfaa2ac62

Contents?: true

Size: 447 Bytes

Versions: 5

Compression:

Stored size: 447 Bytes

Contents

require 'calculated_attributes/version'
require 'active_record'

# Include patches.
require 'calculated_attributes/rails_patches'
require 'calculated_attributes/arel_patches'
fail "Unsupported ActiveRecord version: #{ActiveRecord::VERSION::MAJOR}" unless [3, 4].include? ActiveRecord::VERSION::MAJOR
require "calculated_attributes/rails_#{ActiveRecord::VERSION::MAJOR}_patches"

# Include model code.
require 'calculated_attributes/model_methods'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
calculated_attributes-0.1.4 lib/calculated_attributes.rb
calculated_attributes-0.1.3 lib/calculated_attributes.rb
calculated_attributes-0.1.2 lib/calculated_attributes.rb
calculated_attributes-0.1.1 lib/calculated_attributes.rb
calculated_attributes-0.1.0 lib/calculated_attributes.rb