Sha256: 916cf3bfd6bae0c38f7b4996f3d7135b7cf13eeba1cbb7ee39866ce2e4cf0638

Contents?: true

Size: 157 Bytes

Versions: 10

Compression:

Stored size: 157 Bytes

Contents

module TableModule
  attr_accessor_nn :table_name
  fattr(:ar_cls) do
    Class.new(ActiveRecord::Base).tap { |x| x.set_table_name(table_name) }
  end
end
  

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
GFunk911-dataload-0.8.0 lib/dataload/table_module.rb
GFunk911-dataload-0.8.1 lib/dataload/table_module.rb
GFunk911-dataload-0.8.2 lib/dataload/table_module.rb
GFunk911-dataload-0.8.3 lib/dataload/table_module.rb
GFunk911-dataload-0.8.4 lib/dataload/table_module.rb
GFunk911-dataload-0.8.5 lib/dataload/table_module.rb
GFunk911-dataload-0.9.0 lib/dataload/table_module.rb
GFunk911-dataload-0.9.1 lib/dataload/table_module.rb
GFunk911-dataload-0.9.2 lib/dataload/table_module.rb
GFunk911-dataload-0.9.4 lib/dataload/table_module.rb