Sha256: 7320733bdab60ade1e6b7f6465f4688c42ac845367f3742e7772493cd04a9438

Contents?: true

Size: 539 Bytes

Versions: 12

Compression:

Stored size: 539 Bytes

Contents

$:.unshift(File.dirname(__FILE__)) unless
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))

require 'active_record' unless defined?(ActiveRecord)
require 'fake_arel/singleton_class'
require 'fake_arel/extensions'
require 'fake_arel/with_scope_replacement'
require 'fake_arel/rails_3_finders'
require 'fake_arel/calculations'
require 'fake_arel/selectable_includes'

module FakeArel
  ActiveRecord::Base.send :include, Rails3Finders
  ActiveRecord::Base.send :include, WithScopeReplacement
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
fake_arel-1.5.1 lib/fake_arel.rb
fake_arel-1.5.0 lib/fake_arel.rb
fake_arel-1.4.0 lib/fake_arel.rb
fake_arel-1.3.4 lib/fake_arel.rb
fake_arel-1.3.3 lib/fake_arel.rb
fake_arel-1.3.2 lib/fake_arel.rb
fake_arel-1.3.1 lib/fake_arel.rb
fake_arel-1.3.0 lib/fake_arel.rb
fake_arel-1.2.0 lib/fake_arel.rb
fake_arel-1.1.0 lib/fake_arel.rb
fake_arel-1.0.0 lib/fake_arel.rb
fake_arel-1.0.0.a lib/fake_arel.rb