Sha256: 593339c62b24328186c8315ed73226490ee7bf7609e3c6750e942fde6a2c499e

Contents?: true

Size: 560 Bytes

Versions: 18

Compression:

Stored size: 560 Bytes

Contents

module PlaidRails
  class Engine < ::Rails::Engine
    
    isolate_namespace PlaidRails
    config.generators do |g|
      g.test_framework      :rspec,        :fixture => false
      g.fixture_replacement :factory_girl, :dir => 'spec/factories'
      g.assets false
      g.helper false
    end
    
    initializer :append_migrations do |app|
      unless app.root.to_s.match root.to_s
        config.paths["db/migrate"].expanded.each do |expanded_path|
          app.config.paths["db/migrate"] << expanded_path
        end
      end
    end
    
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
plaid_rails-0.13.0 lib/plaid_rails/engine.rb
plaid_rails-0.12.0 lib/plaid_rails/engine.rb
plaid_rails-0.11.0 lib/plaid_rails/engine.rb
plaid_rails-0.10.0 lib/plaid_rails/engine.rb
plaid_rails-0.9.0 lib/plaid_rails/engine.rb
plaid_rails-0.8.0 lib/plaid_rails/engine.rb
plaid_rails-0.7.0 lib/plaid_rails/engine.rb
plaid_rails-0.6.0 lib/plaid_rails/engine.rb
plaid_rails-0.5.0 lib/plaid_rails/engine.rb
plaid_rails-0.4.0 lib/plaid_rails/engine.rb
plaid_rails-0.3.0 lib/plaid_rails/engine.rb
plaid_rails-0.2.3 lib/plaid_rails/engine.rb
plaid_rails-0.2.2 lib/plaid_rails/engine.rb
plaid_rails-0.2.0 lib/plaid_rails/engine.rb
plaid_rails-0.1.1 lib/plaid_rails/engine.rb
plaid_rails-0.1.0 lib/plaid_rails/engine.rb
plaid_rails-0.0.2 lib/plaid_rails/engine.rb
plaid_rails-0.0.1 lib/plaid_rails/engine.rb