Commit 52cf11b9f2f22218abd79aa3936ddb7f0d6cee59

Authored by Job van der Voort
1 parent 6d196962

add a space

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
db/migrate/20140407135544_fix_namespaces.rb
1 class FixNamespaces < ActiveRecord::Migration 1 class FixNamespaces < ActiveRecord::Migration
2 def up 2 def up
3 Namespace.where('name <> path and type is null').each do |namespace| 3 Namespace.where('name <> path and type is null').each do |namespace|
4 - namespace.update_attribute(:name, namespace.path) 4 + namespace.update_attribute(:name, namespace.path)
5 end 5 end
6 end 6 end
7 7
8 def down 8 def down
9 end 9 end
10 -end 10 -end
  11 +end
11 \ No newline at end of file 12 \ No newline at end of file