| Class | ActiveWarehouse::Bridge |
| In: |
lib/active_warehouse/bridge.rb
|
| Parent: | ActiveRecord::Base |
Implements a bridge table.
Get the table name. By default the table name will be the name of the bridge in singular form.
Example: DepartmentHierarchyBridge will have a table called department_hierarchy_bridge
# File lib/active_warehouse/bridge.rb, line 10
10: def table_name
11: name = self.name.demodulize.underscore
12: set_table_name(name)
13: name
14: end