Flowdock
method

index_name

Importance_0
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: Rails::Generators::GeneratedAttribute
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 101
      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.