another tab replaced with 2-spaces...

This commit is contained in:
scibb 2016-08-10 08:49:18 +02:00
parent 6b0b2b0df7
commit 5dd5f1cc28

View file

@ -1,12 +1,12 @@
class UpdateMyModuleCoordinate < ActiveRecord::Migration
def change
MyModule.all.each do |my_module|
x = my_module.x
y = my_module.y
x *= 32
y *= 16
my_module.update(x: x)
my_module.update(y: y)
end
end
def change
MyModule.all.each do |my_module|
x = my_module.x
y = my_module.y
x *= 32
y *= 16
my_module.update(x: x)
my_module.update(y: y)
end
end
end