diff --git a/lib/tasks/growstuff.rake b/lib/tasks/growstuff.rake index befff39a0..908b71337 100644 --- a/lib/tasks/growstuff.rake +++ b/lib/tasks/growstuff.rake @@ -88,7 +88,7 @@ namespace :growstuff do # site is small and there aren't many of them, so it shouldn't matter # for this one-off script. Garden.all.each do |g| - if g.name.nil? || g.name =~(/^\s*$/) + if g.name.nil? || g.name =~ /^\s*$/ g.name = "Garden" g.save end