Class: ActiveRecord::Lint::MissingIndex
- Inherits:
-
TableIndexPair
- Object
- Pair
- TableColumnPair
- TableIndexPair
- ActiveRecord::Lint::MissingIndex
- Defined in:
- lib/active_record/lint/reporter.rb
Instance Attribute Summary
Attributes inherited from Pair
Instance Method Summary collapse
Methods inherited from Pair
#<=>, #eql?, #hash, #initialize, #inspect, #pair_name, #to_ary
Constructor Details
This class inherits a constructor from ActiveRecord::Lint::Pair
Instance Method Details
#to_s ⇒ Object
5 6 7 |
# File 'lib/active_record/lint/reporter.rb', line 5 def to_s "The foreign key '#{index}' is not indexed on '#{table}'." end |