Sha256: 31e339f44a5dcb0a945c690fc02a75a1e965862863a5535ea957a90825735381

Contents?: true

Size: 435 Bytes

Versions: 4

Compression:

Stored size: 435 Bytes

Contents

require 'active_support/core_ext'
require 'active_support'
require 'active_record'
require 'sakuramochi/config'
require 'sakuramochi/predicate'
require 'sakuramochi/predicate_builder'
require 'sakuramochi/condition'
require 'sakuramochi/relation'

ActiveSupport.on_load(:active_record) do
  ActiveRecord::Relation.send(:include, Sakuramochi::Relation)
  ActiveRecord::PredicateBuilder.send(:include, Sakuramochi::PredicateBuilder)
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sakuramochi-0.5.3 lib/sakuramochi.rb
sakuramochi-0.5.2 lib/sakuramochi.rb
sakuramochi-0.5.1 lib/sakuramochi.rb
sakuramochi-0.5.0 lib/sakuramochi.rb