Run rubocop --fix-layout and remove encoding comments
This commit is contained in:
parent
fa63e6e81d
commit
ea2862fdef
283 changed files with 1164 additions and 1969 deletions
|
|
@ -1,7 +1,7 @@
|
|||
class AddProfitToOrders < ActiveRecord::Migration[4.2]
|
||||
def self.up
|
||||
add_column :orders, :foodcoop_result, :decimal, :precision => 8, :scale => 2
|
||||
|
||||
|
||||
Order.closed.each do |order|
|
||||
order.update_attribute(:foodcoop_result, order.profit)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue