| Set eager load, fix rex gem usag - warvox - VoIP based wardialing tool, forked … | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit 0ee4fde89042537d057545c30f4520225f8a2562 | |
| parent f5ab7abc3354abf91957e68a65f412459395bdc9 | |
| Author: HD Moore <[email protected]> | |
| Date: Sat, 6 Sep 2014 14:45:15 -0500 | |
| Set eager load, fix rex gem usag | |
| Diffstat: | |
| M Gemfile | 2 +- | |
| M Gemfile.lock | 4 ++-- | |
| M config/environments/development.rb | 3 +++ | |
| M config/environments/production.rb | 3 +++ | |
| M config/environments/test.rb | 4 ++++ | |
| 5 files changed, 13 insertions(+), 3 deletions(-) | |
| --- | |
| diff --git a/Gemfile b/Gemfile | |
| @@ -13,7 +13,7 @@ gem 'jquery-datatables-rails', '>= 2.2.3' | |
| gem 'postgres_ext', :git => 'git://github.com/dockyard/postgres_ext.git' | |
| gem 'kissfft' | |
| -gem 'rex', '>= 2.0.1' | |
| +gem 'rex', '>= 2.0.2' | |
| gem 'sass-rails', '~> 4.0.2' | |
| gem 'coffee-rails', '~> 4.0.1' | |
| diff --git a/Gemfile.lock b/Gemfile.lock | |
| @@ -130,7 +130,7 @@ GEM | |
| rake (10.3.2) | |
| ref (1.0.5) | |
| request_store (1.1.0) | |
| - rex (2.0.1) | |
| + rex (2.0.2) | |
| sass (3.2.19) | |
| sass-rails (4.0.3) | |
| railties (>= 4.0.0, < 5.0) | |
| @@ -197,7 +197,7 @@ DEPENDENCIES | |
| rails-settings-cached (>= 0.4.1) | |
| rails_bootstrap_navbar (>= 2.0.1) | |
| reportable! | |
| - rex (>= 2.0.1) | |
| + rex (>= 2.0.2) | |
| sass-rails (~> 4.0.2) | |
| scrypt | |
| therubyracer | |
| diff --git a/config/environments/development.rb b/config/environments/developme… | |
| @@ -37,5 +37,8 @@ Web::Application.configure do | |
| # Expands the lines which load the assets | |
| config.assets.debug = false | |
| + # Eager load | |
| + config.eager_load = false | |
| + | |
| config.serve_static_assets = true | |
| end | |
| diff --git a/config/environments/production.rb b/config/environments/production… | |
| @@ -61,6 +61,9 @@ Web::Application.configure do | |
| # Send deprecation notices to registered listeners | |
| config.active_support.deprecation = :notify | |
| + # Eager load | |
| + config.eager_load = true | |
| + | |
| # Log the query plan for queries taking more than this (works | |
| # with SQLite, MySQL, and PostgreSQL) | |
| # config.active_record.auto_explain_threshold_in_seconds = 0.5 | |
| diff --git a/config/environments/test.rb b/config/environments/test.rb | |
| @@ -32,4 +32,8 @@ Web::Application.configure do | |
| # Print deprecation notices to the stderr | |
| config.active_support.deprecation = :stderr | |
| + | |
| + # Eager load | |
| + config.eager_load = false | |
| + | |
| end |