method
attributes_with_index
v4.2.9 -
Show latest stable
- Class:
ActiveRecord::Generators::MigrationGenerator
attributes_with_index()private
No documentation available.
# File activerecord/lib/rails/generators/active_record/migration/migration_generator.rb, line 55
def attributes_with_index
attributes.select { |a| !a.reference? && a.has_index? }
end