Sha256: 5f571ef75415b80bb583a99ae79b5b418f3e25f222e057049d4182f820a1d1bf

Contents?: true

Size: 558 Bytes

Versions: 4

Compression:

Stored size: 558 Bytes

Contents

Findable.configure do |config|
  # Redis connection setting. Default is `Redis.current`.
  # config.redis_options = {host: "localhost", port: 6379, db: 2}

  # Serializer setting. Default is JSON.
  # It can be specify an object with the following methods.
  #   * dump - To string from an object.
  #   * load - To object from a string.
  # config.serializer = Oj

  # Directory of stored seed files.
  config.seed_dir = Rails.root.join("db", "findable_seeds")

  # Seed file of Findable.
  config.seed_file = Rails.root.join("db", "findable_seeds.rb")
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
findable-0.2.2 lib/generators/findable/templates/findable.rb
findable-0.2.1 lib/generators/findable/templates/findable.rb
findable-0.2.0 lib/generators/findable/templates/findable.rb
findable-0.1.5 lib/generators/findable/templates/findable.rb