Sha256: 19fd2c91d1d750a32228560e8525b653d9987d707b522a14506d823f66f4522e
Contents?: true
Size: 548 Bytes
Versions: 1
Compression:
Stored size: 548 Bytes
Contents
module CondoCouchbase class Engine < ::Rails::Engine engine_name :condo_couchbase config.after_initialize do |app| model_conf = Couchbase::Model::Configuration temp = model_conf.design_documents_paths path = File.expand_path(File.join(File.dirname(__FILE__), '../condo/backend')) model_conf.design_documents_paths = [path] ::Condo::Backend::Couchbase.ensure_design_document! model_conf.design_documents_paths = temp end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
condo-couchbase-2.0.0 | lib/condo-couchbase/engine.rb |