File tree Expand file tree Collapse file tree 4 files changed +10
-5
lines changed
partitioned/partitioned_base Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 55require 'active_record/connection_adapters/abstract/connection_pool'
66
77#
8- # patching activrecord to allow specifying the table name as a function of
8+ # patching activerecord to allow specifying the table name as a function of
99# attributes
1010#
1111module ActiveRecord
1212 #
13- # patches for relation to allow backhooks into the activerecord
13+ # patches for relation to allow back hooks into the activerecord
1414 # requesting name of table as a function of attributes
1515 #
1616 class Relation
Original file line number Diff line number Diff line change 11require 'monkey_patch_activerecord'
22require 'monkey_patch_postgres'
33
4- require 'partitioned/partitioned_base'
5- #require 'partitioned/partitioned_base/configurator/data'
4+ require 'partitioned/bulk_methods_mixin'
5+ require 'partitioned/active_record_overrides'
6+ require 'partitioned/partitioned_base/configurator.rb'
7+ require 'partitioned/partitioned_base/configurator/data'
68require 'partitioned/partitioned_base/configurator/dsl'
9+ require 'partitioned/partitioned_base.rb'
710require 'partitioned/partitioned_base/configurator/reader'
811require 'partitioned/partitioned_base/partition_manager'
912require 'partitioned/partitioned_base/sql_adapter'
Original file line number Diff line number Diff line change 11module Partitioned
2- class PartitionedBase
2+ class PartitionedBase < ActiveRecord :: Base
33 module Configurator
44 end
55 end
Original file line number Diff line number Diff line change 1+ $LOAD_PATH. push File . expand_path ( "../lib" , __FILE__ )
2+
13Gem ::Specification . new do |s |
24 s . name = 'partitioned'
35 s . version = '0.8.0'
You can’t perform that action at this time.
0 commit comments