class ActiveRecord::ConnectionAdapters::AbstractAdapter

Public Class Methods

inherited(subclass) click to toggle source
# File lib/activerecord/tablelocks/activerecord.rb, line 39
def self.inherited(subclass)
  case subclass.name
  when "ActiveRecord::ConnectionAdapters::PostgreSQLAdapter"
    require 'activerecord/tablelocks/activerecord/postgres'
  end
end

Public Instance Methods

lock_table(quoted_table_name) click to toggle source
# File lib/activerecord/tablelocks/activerecord.rb, line 45
def lock_table(quoted_table_name)
  logger.warn "WARNING: Locking is not supported for your database!"
end
lock_tables(quoted_table_names) click to toggle source
# File lib/activerecord/tablelocks/activerecord.rb, line 48
def lock_tables(quoted_table_names)
  logger.warn "WARNING: Locking is not supported for your database!"
end