Class: ActiveRecord::ConnectionAdapters::TableDefinition
- Inherits:
-
Object
- Object
- ActiveRecord::ConnectionAdapters::TableDefinition
- Defined in:
- lib/fingerprints/active_record.rb
Instance Method Summary collapse
-
#fingerprints(*args) ⇒ Object
Appends
:integercolumns:created_byand:updated_byto the table.
Instance Method Details
#fingerprints(*args) ⇒ Object
Appends :integer columns :created_by and :updated_by to the table.
6 7 8 9 10 |
# File 'lib/fingerprints/active_record.rb', line 6 def fingerprints(*args) = args. column(:created_by, :integer, ) column(:updated_by, :integer, ) end |