module Netfira::WebConnect::ActiveRecord::Base

Add some new methods

Public Class Methods

connection_pool() click to toggle source
# File lib/netfira/web_connect/migration/base_methods.rb, line 46
def connection_pool
  connection_handler.retrieve_connection_pool(Model) or raise ActiveRecord::ConnectionNotEstablished
end
retrieve_connection() click to toggle source
# File lib/netfira/web_connect/migration/base_methods.rb, line 49
def retrieve_connection
  connection_handler.retrieve_connection(Model)
end
schema_migrations_table_name() click to toggle source
# File lib/netfira/web_connect/migration/base_methods.rb, line 52
def schema_migrations_table_name
  Netfira::WebConnect.schema_migrations_table_name
end