module Elastics::Rails::Helper
Public Instance Methods
after_initialize()
click to toggle source
# File lib/elastics/rails/helper.rb, line 6 def after_initialize # we need to reload the elastics API methods with the new variables Elastics.reload! #Conf.elastics_models && Conf.elastics_models.each {|m| eval"::#{m}" if m.is_a?(String) } end