class ActiveRecord::ConnectionAdapters::TableDefinition
Public Instance Methods
fingerprints(*args)
click to toggle source
Appends :integer
columns :created_by
and :updated_by
to the table.
# File lib/fingerprints/active_record.rb, line 6 def fingerprints(*args) options = args.extract_options! column(:created_by, :integer, options) column(:updated_by, :integer, options) end