Skip to content

Commit 5213ab9

Browse files
committed
config cleanup
1 parent 5beee54 commit 5213ab9

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

config/environments/development.rb

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Coderwall::Application.configure do
2-
config.threadsafe! unless $rails_rake_task
2+
config.eager_load = true
33

44
require 'sidekiq/testing/inline'
55

@@ -28,15 +28,6 @@
2828
# with SQLite, MySQL, and PostgreSQL)
2929
# config.active_record.auto_explain_threshold_in_seconds = 0.5
3030

31-
# Move cache dir's out of vagrant NFS directory
32-
config.cache_store = [:file_store,"/tmp/codewall-cache/"]
33-
config.assets.cache_store = [:file_store,"/tmp/codewall-cache/assets/"]
34-
Rails.application.config.sass.cache_location = "/tmp/codewall-cache/sass/"
35-
36-
BetterErrors::Middleware.allow_ip! ENV['TRUSTED_IP'] if ENV['TRUSTED_IP']
37-
#Rails.logger = Logger.new(STDOUT)
38-
#Rails.logger.level = Logger::DEBUG
39-
4031
# Mock account credentials
4132
OmniAuth.config.test_mode = true
4233
OmniAuth.config.mock_auth[:linkedin] = OmniAuth::AuthHash.new({

config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Coderwall::Application.configure do
2-
config.threadsafe! unless $rails_rake_task
2+
config.eager_load = true
33
config.cache_classes = true
44
config.consider_all_requests_local = false
55
config.action_controller.perform_caching = true

config/environments/test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Coderwall::Application.configure do
2-
config.threadsafe! unless $rails_rake_task
2+
config.eager_load = true
33
config.cache_classes = false
44
config.whiny_nils = true
55
config.consider_all_requests_local = true

0 commit comments

Comments
 (0)