lib/activerecord_snapshot_view/snapshot_view.rb
# name of the active table read direct from db
name of the active table read direct from db
name of the active table read direct from db
def active_table_name
        st = switch_table_name
        begin
          connection.select_value( "select current from #{st}" )
        rescue
        end || default_active_table_name
      end
def active_table_name st = switch_table_name begin connection . select_value ( "select current from #{st}" ) rescue end || default_active_table_name end
name of the active table read direct from db
name of the active table read direct from db