Skip to content

Instantly share code, notes, and snippets.

@Veraticus
Created January 21, 2013 23:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Veraticus/4590692 to your computer and use it in GitHub Desktop.
Save Veraticus/4590692 to your computer and use it in GitHub Desktop.
require 'tire/rails/logger'
require 'tire/queries/more_like_this'
Tire::Configuration.logger(STDOUT, level: :debug) if Rails.env.development?
ElasticSearchAnalysis = YAML.load_file('config/elasticsearch_analysis.yml').with_indifferent_access
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment