Flowdock
index_name() public

No documentation

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

Hide source
# File railties/lib/rails/generators/generated_attribute.rb, line 111
      def index_name
        @index_name ||= if polymorphic?
          %(id type).map { |t| "#{name}_#{t}" }
        else
          column_name
        end
      end
Register or log in to add new notes.