aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorRenan Gurgel <gurgel.renan@gmail.com>2017-10-23 21:21:03 -0300
committerGitHub <noreply@github.com>2017-10-23 21:21:03 -0300
commit363eec42e99716c896b1797f1fedc03bc30b841b (patch)
tree560e1ab3ae815768c09c5eb0152fa0a8f775f61b /railties
parentd147ed02a00fe50f3428962dfadb5de076c56a5e (diff)
downloadrails-363eec42e99716c896b1797f1fedc03bc30b841b.tar.gz
rails-363eec42e99716c896b1797f1fedc03bc30b841b.tar.bz2
rails-363eec42e99716c896b1797f1fedc03bc30b841b.zip
Space between { and | missing.
Improve a code style recommendation following Rubocop instructions https://codeclimate.com/github/rails/rails/issues
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/rails/plugin/plugin_generator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/plugin/plugin_generator.rb b/railties/lib/rails/generators/rails/plugin/plugin_generator.rb
index 331e73d1f0..65a124b0b8 100644
--- a/railties/lib/rails/generators/rails/plugin/plugin_generator.rb
+++ b/railties/lib/rails/generators/rails/plugin/plugin_generator.rb
@@ -92,7 +92,7 @@ task default: :test
]
def generate_test_dummy(force = false)
- opts = (options.dup || {}).keep_if {|k, | PASSTHROUGH_OPTIONS.map(&:to_s).include?(k) }
+ opts = (options.dup || {}).keep_if { |k, | PASSTHROUGH_OPTIONS.map(&:to_s).include?(k) }
opts[:force] = force
opts[:skip_bundle] = true
opts[:skip_listen] = true