method

attributes_with_index

Importance_0
attributes_with_index() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/rails/generators/active_record/model/model_generator.rb, line 51
        def attributes_with_index
          attributes.select { |a| !a.reference? && a.has_index? }
        end
Register or log in to add new notes.