Skip to content

Commit

Permalink
updating call to index_name
Browse files Browse the repository at this point in the history
This is now stored in the tanker_config object, rather than directly on
the class.
  • Loading branch information
JackDanger committed Mar 30, 2011
1 parent 49240a5 commit 8605808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tanker/utilities.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def get_model_classes
end

def get_available_indexes
get_model_classes.map{|model| model.index_name}.uniq.compact
get_model_classes.map{|model| model.tanker_config.index_name}.uniq.compact
end

def clear_all_indexes
Expand Down

0 comments on commit 8605808

Please sign in to comment.