Module: ActiveRecord::Dbt

Defined in:
lib/active_record/dbt.rb,
lib/active_record/dbt/config.rb,
lib/active_record/dbt/railtie.rb,
lib/active_record/dbt/version.rb,
lib/active_record/dbt/table/yml.rb,
lib/active_record/dbt/column/yml.rb,
lib/active_record/dbt/source/yml.rb,
lib/active_record/dbt/table/base.rb,
lib/active_record/dbt/seed/enum/csv.rb,
lib/active_record/dbt/seed/enum/yml.rb,
lib/active_record/dbt/seed/enum/base.rb,
lib/active_record/dbt/table/data_test.rb,
lib/active_record/dbt/column/data_test.rb,
lib/active_record/dbt/data_type/mapper.rb,
lib/active_record/dbt/required_methods.rb,
lib/active_record/dbt/model/staging/sql.rb,
lib/active_record/dbt/model/staging/yml.rb,
lib/active_record/dbt/model/staging/base.rb,
lib/active_record/dbt/configuration/logger.rb,
lib/active_record/dbt/configuration/parser.rb,
lib/active_record/dbt/configuration/source.rb,
lib/active_record/dbt/i18n_wrapper/translate.rb,
lib/active_record/dbt/configuration/data_sync.rb,
lib/active_record/dbt/factory/table/yml_factory.rb,
lib/active_record/dbt/configuration/dwh_platform.rb,
lib/active_record/dbt/factory/source/yml_factory.rb,
lib/active_record/dbt/factory/tables/yml_factory.rb,
lib/active_record/dbt/factory/columns/yml_factory.rb,
lib/active_record/dbt/configuration/used_dbt_package.rb,
lib/generators/active_record/dbt/enum/enum_generator.rb,
lib/active_record/dbt/configuration/i18n_configuration.rb,
lib/active_record/dbt/factory/model/staging/yml_factory.rb,
lib/generators/active_record/dbt/config/config_generator.rb,
lib/generators/active_record/dbt/source/source_generator.rb,
lib/active_record/dbt/column/data_testable/unique_data_testable.rb,
lib/active_record/dbt/column/data_testable/not_null_data_testable.rb,
lib/generators/active_record/dbt/initializer/initializer_generator.rb,
lib/active_record/dbt/column/data_testable/relationships_data_testable.rb,
lib/generators/active_record/dbt/staging_model/staging_model_generator.rb,
lib/active_record/dbt/column/data_testable/accepted_values_data_testable.rb,
lib/active_record/dbt/dbt_package/dbterd/column/data_testable/relationships_meta_relationship_type.rb,
lib/active_record/dbt/dbt_package/dbt_utils/table/data_testable/unique_combination_of_columns_data_testable.rb

Defined Under Namespace

Modules: Column, Configuration, DataType, DbtPackage, Factory, Generators, I18nWrapper, Model, RequiredMethods, Seed, Source, Table Classes: Config, Railtie

Constant Summary collapse

VERSION =
'0.4.0'

Class Method Summary collapse

Class Method Details

.configure {|config = ActiveRecord::Dbt::Config.instance| ... } ⇒ Object

Yields:



9
10
11
12
13
# File 'lib/active_record/dbt.rb', line 9

def self.configure
  yield config = ActiveRecord::Dbt::Config.instance

  config
end