File tree 3 files changed +3
-12
lines changed
3 files changed +3
-12
lines changed Original file line number Diff line number Diff line change 1
1
Coderwall ::Application . configure do
2
- config . threadsafe! unless $rails_rake_task
2
+ config . eager_load = true
3
3
4
4
require 'sidekiq/testing/inline'
5
5
28
28
# with SQLite, MySQL, and PostgreSQL)
29
29
# config.active_record.auto_explain_threshold_in_seconds = 0.5
30
30
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
-
40
31
# Mock account credentials
41
32
OmniAuth . config . test_mode = true
42
33
OmniAuth . config . mock_auth [ :linkedin ] = OmniAuth ::AuthHash . new ( {
Original file line number Diff line number Diff line change 1
1
Coderwall ::Application . configure do
2
- config . threadsafe! unless $rails_rake_task
2
+ config . eager_load = true
3
3
config . cache_classes = true
4
4
config . consider_all_requests_local = false
5
5
config . action_controller . perform_caching = true
Original file line number Diff line number Diff line change 1
1
Coderwall ::Application . configure do
2
- config . threadsafe! unless $rails_rake_task
2
+ config . eager_load = true
3
3
config . cache_classes = false
4
4
config . whiny_nils = true
5
5
config . consider_all_requests_local = true
You can’t perform that action at this time.
0 commit comments