Sha256: 5b175edc33d728aa0d042b9dd511d0eb751e8d9a21c387c9b1d0e29cb65d5488
Contents?: true
Size: 536 Bytes
Versions: 9
Compression:
Stored size: 536 Bytes
Contents
require "tekeya" require "rails" module Tekeya class Engine < ::Rails::Engine engine_name "tekeya" config.before_configuration do config.tekeya_orm = ::Tekeya::Configuration.instance.feed_storage_orm config.eager_load_paths.reject!{ |p| p =~ /\/app\/(\w+)$/ && !%w(controllers helpers views workers).include?($1) } config.autoload_paths += [ "#{config.root}/app/#{config.tekeya_orm}" ] end initializer "Configure Tekeya" do ::Tekeya::Configuration.instance.setup_databases end end end
Version data entries
9 entries across 9 versions & 1 rubygems