Sha256: 90128154ff5cf0b85cad4b29f0f225838287bc7bc7fc36bbbaa89ae14f78c98d
Contents?: true
Size: 356 Bytes
Versions: 1
Compression:
Stored size: 356 Bytes
Contents
module Multiflow class Railtie < Rails::Railtie def default_orm generators = config.respond_to?(:app_generators) ? :app_generators : :generators config.send(generators).options[:rails][:orm] end initializer "multiflow.set_persistence" do Multiflow.persistence = default_orm if Multiflow.persistence.blank? end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
multiflow-1.0.0 | lib/multiflow/railtie.rb |