Sha256: bcaca8eddbe7ab88265ef219b8f327ff11097dc84375e7cbdc6284a383a8e827
Contents?: true
Size: 322 Bytes
Versions: 21
Compression:
Stored size: 322 Bytes
Contents
module Elastics module Rails module Helper extend self 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 end end end
Version data entries
21 entries across 21 versions & 1 rubygems