Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kazuhiko Shiozaki
gitlab-ce
Commits
ede27240
Commit
ede27240
authored
Dec 06, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update config/* to rails4
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
f38435b9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
config/environments/development.rb
config/environments/development.rb
+2
-7
config/environments/production.rb
config/environments/production.rb
+3
-0
config/environments/test.rb
config/environments/test.rb
+2
-0
No files found.
config/environments/development.rb
View file @
ede27240
...
...
@@ -6,9 +6,6 @@ Gitlab::Application.configure do
# since you don't have to restart the web server when you make code changes.
config
.
cache_classes
=
false
# Log error messages when you accidentally call methods on nil.
config
.
whiny_nils
=
true
# Show full error reports and disable caching
config
.
consider_all_requests_local
=
true
config
.
action_controller
.
perform_caching
=
false
...
...
@@ -25,10 +22,6 @@ Gitlab::Application.configure do
# Raise exception on mass assignment protection for Active Record models
config
.
active_record
.
mass_assignment_sanitizer
=
:strict
# 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
# Do not compress assets
config
.
assets
.
compress
=
false
...
...
@@ -39,4 +32,6 @@ Gitlab::Application.configure do
config
.
action_mailer
.
default_url_options
=
{
host:
'localhost'
,
port:
3000
}
# Open sent mails in browser
config
.
action_mailer
.
delivery_method
=
:letter_opener
config
.
eager_load
=
false
end
config/environments/production.rb
View file @
ede27240
...
...
@@ -80,4 +80,7 @@ Gitlab::Application.configure do
# # }
config
.
action_mailer
.
perform_deliveries
=
true
config
.
action_mailer
.
raise_delivery_errors
=
true
config
.
eager_load
=
true
config
.
assets
.
js_compressor
=
:uglifier
end
config/environments/test.rb
View file @
ede27240
...
...
@@ -34,4 +34,6 @@ Gitlab::Application.configure do
# Print deprecation notices to the stderr
config
.
active_support
.
deprecation
=
:stderr
config
.
eager_load
=
false
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment