From: Toshi MARUYAMA Date: Sat, 21 Nov 2020 13:52:55 +0000 (+0000) Subject: remove spaces inside {} of lib/generators/redmine_plugin_model/redmine_plugin_model_g... X-Git-Tag: 4.2.0~354 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=393b964774564441672f692d4321a8cda4495254;p=redmine.git remove spaces inside {} of lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20464 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb b/lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb index eccd8d9ce..e9c5c1f1a 100644 --- a/lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb +++ b/lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb @@ -51,7 +51,7 @@ class RedminePluginModelGenerator < Rails::Generators::NamedBase private def attributes_with_index - attributes.select { |a| a.has_index? || (a.reference? && options[:indexes]) } + attributes.select {|a| a.has_index? || (a.reference? && options[:indexes])} end def migration_number