method

inject_index_options

Importance_0
inject_index_options() 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 227
      def inject_index_options
        has_uniq_index? ? ", unique: true" : ""
      end
Register or log in to add new notes.