# HG changeset patch # User nanaya # Date 1603048152 -32400 # Node ID 8190fa511e35ec041b5ba5d9be20fb3eea61ece3 # Parent 70e90ea4b870dd9d8090dee24ba4f47c18e58e77 Fix some code style diff -r 70e90ea4b870 -r 8190fa511e35 app/controllers/tweets_controller.rb --- a/app/controllers/tweets_controller.rb Mon Oct 19 04:08:30 2020 +0900 +++ b/app/controllers/tweets_controller.rb Mon Oct 19 04:09:12 2020 +0900 @@ -28,6 +28,7 @@ end private + def normalized_screen_name @user.screen_name.presence || '_' end diff -r 70e90ea4b870 -r 8190fa511e35 config/environments/development.rb --- a/config/environments/development.rb Mon Oct 19 04:08:30 2020 +0900 +++ b/config/environments/development.rb Mon Oct 19 04:09:12 2020 +0900 @@ -31,7 +31,6 @@ # Print deprecation notices to the Rails logger. config.active_support.deprecation = :log - # Raises error for missing translations. # config.action_view.raise_on_missing_translations = true diff -r 70e90ea4b870 -r 8190fa511e35 config/environments/production.rb --- a/config/environments/production.rb Mon Oct 19 04:08:30 2020 +0900 +++ b/config/environments/production.rb Mon Oct 19 04:09:12 2020 +0900 @@ -37,7 +37,7 @@ config.log_level = :debug # Prepend all log lines with the following tags. - config.log_tags = [ :request_id ] + config.log_tags = [:request_id] # Use a different cache store in production. # config.cache_store = :mem_cache_store