Module: DataExporter
- Defined in:
- lib/data_exporter.rb,
lib/data_exporter/cli.rb,
lib/data_exporter/actions.rb,
lib/data_exporter/archive.rb,
lib/data_exporter/version.rb,
lib/data_exporter/configuration.rb
Defined Under Namespace
Modules: Actions
Classes: Archive, CLI, Configuration
Constant Summary
collapse
- IGNORED_TABLES =
%w(schema_migrations checksums)
- VERSION =
'1.3.7'
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
Also known as:
config
13
14
15
|
# File 'lib/data_exporter.rb', line 13
def configure(&block)
yield configuration
end
|
.database_connection ⇒ Object
17
18
19
|
# File 'lib/data_exporter.rb', line 17
def database_connection
ActiveRecord::Base.establish_connection(configuration.database)
end
|