Skip to content

Commit

Permalink
Fixed documentation for Mongoid::Giza::Configuration#remove_generated…
Browse files Browse the repository at this point in the history
…_indexes
  • Loading branch information
eddloschi committed Jan 23, 2014
1 parent 628a4b1 commit 860f4d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mongoid/giza/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def clear_generated_indexes

# Removes Riddle::Index's specifieds as params
#
# @param indexes [Array<String>] names of indexes that should be removed
# @param indexes [Array<Symbol>] names of indexes that should be removed
def remove_generated_indexes(indexes)
indexes.each do |index|
indices.delete(@generated_indexes.delete(index))
Expand Down

0 comments on commit 860f4d2

Please sign in to comment.