lib/active_replicas/railtie.rb in active_replicas-0.2.2 vs lib/active_replicas/railtie.rb in active_replicas-0.2.3
- old
+ new
@@ -26,11 +26,12 @@
:disable_query_cache!, :disconnect!, :enable_query_cache!,
:exec_query, :prepared_statements, :query_cache_enabled, :quote,
:quote_column_name, :quote_table_name,
:quote_table_name_for_assignment, :raw_connection, :reconnect!,
:sanitize_limit, :schema_cache, :select, :select_all, :select_one,
- :select_rows, :select_value, :select_values, :substitute_at, :to_sql,
- :type_cast, :uncached, :valid_type?, :verify!, :visitor
+ :select_rows, :select_value, :select_values, :substitute_at,
+ :table_alias_for, :to_sql, :type_cast, :uncached, :valid_type?,
+ :verify!, :visitor
]
).uniq
# Rails methods that translate to SQL DDL (data definition language).
DDL_METHODS = [