Commit e00810b2 by Jon Frisby

fixed a few typos

Conflicts: lib/annotate/annotate_models.rb
parent 79b9821e
...@@ -86,7 +86,7 @@ module AnnotateModels ...@@ -86,7 +86,7 @@ module AnnotateModels
end end
# Check if the column has indices and print "indexed" if true # Check if the column has indices and print "indexed" if true
# If the indice include another colum, print it too. # If the index includes another column, print it too.
if options[:simple_indexes] && klass.table_exists?# Check out if this column is indexed if options[:simple_indexes] && klass.table_exists?# Check out if this column is indexed
indices = klass.connection.indexes(klass.table_name) indices = klass.connection.indexes(klass.table_name)
if indices = indices.select { |ind| ind.columns.include? col.name } if indices = indices.select { |ind| ind.columns.include? col.name }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment