File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
# coding: utf-8
2
+ require 'sidekiq/testing/inline'
3
+
2
4
Rails . application . configure do
3
5
# Settings specified here will take precedence over those in config/environment.rb
4
6
5
7
# In the development environment your application's code is reloaded on
6
8
# every request. This slows down response time but is perfect for development
7
9
# since you don't have to restart the webserver when you make code changes.
8
10
config . cache_classes = false
9
-
11
+
10
12
config . eager_load = false
11
13
12
14
# Show full error reports and disable caching
25
27
config . cache_store = [ :dalli_store , "127.0.0.1" , { namespace : "rb-cn" , compress : true } ]
26
28
27
29
config . assets . debug = false
28
-
30
+
29
31
# Asset digests allow you to set far-future HTTP expiration dates on all assets,
30
32
# yet still be able to expire them through the digest params.
31
33
config . assets . digest = false
34
36
# Checks for improperly declared sprockets dependencies.
35
37
# Raises helpful error messages.
36
38
config . assets . raise_runtime_errors = true
37
-
39
+
38
40
# Raises error for missing translations
39
41
# config.action_view.raise_on_missing_translations = true
40
42
end
48
50
files . each_with_index do |s , i |
49
51
if times [ i ] > @last_api_change
50
52
Rails . logger . debug " - #{ s } "
51
- load s
53
+ load s
52
54
end
53
55
end
54
56
You can’t perform that action at this time.
0 commit comments