diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-21 13:52:55 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-21 13:52:55 +0000 |
commit | 393b964774564441672f692d4321a8cda4495254 (patch) | |
tree | 087e2df0a87b445fa5b7406db84b6d2a7bc44830 | |
parent | a21ab3eaf90e2c622100de074153efc2af76594a (diff) | |
download | redmine-393b964774564441672f692d4321a8cda4495254.tar.gz redmine-393b964774564441672f692d4321a8cda4495254.zip |
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
-rw-r--r-- | lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |