Sha256: b0f416768e92b3bd7c9847f94670445a1d5a0b54e17f202fd06400ffaf989162

Contents?: true

Size: 373 Bytes

Versions: 3

Compression:

Stored size: 373 Bytes

Contents

# The acts_as_indexed instructions tell us to put this in environment/initializers/
# but that doesn't work so we're putting it here and requiring it using refinery.
ActsAsIndexed::Configuration.module_eval do
  def initialize
    @index_file = Rails.root.join('tmp', 'index') if Rails.root
    @index_file_depth = 3
    @min_word_size = 3
    @if_proc = if_proc
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
refinerycms-0.9.7.15 config/acts_as_indexed_config.rb
refinerycms-0.9.7.14 config/acts_as_indexed_config.rb
refinerycms-0.9.7.13 config/acts_as_indexed_config.rb