class ActiveRecord::ConnectionAdapters::Table

Public Instance Methods

fingerprints() click to toggle source

Adds fingerprints (created_by and updated_by) columns to the table. See SchemaStatements#add_fingerprints

Example
t.fingerprints
# File lib/fingerprints/active_record.rb, line 17
def fingerprints
  @base.add_fingerprints(@table_name)
end
remove_fingerprints() click to toggle source

Removes the fingerprint columns (created_by and updated_by) from the table.

Example
t.remove_fingerprints
# File lib/fingerprints/active_record.rb, line 25
def remove_fingerprints
  @base.remove_fingerprints(@table_name)
end