chore: rubocop
chore: fix api test conventions chore: rubocop -A spec/ chore: more rubocop -A fix failing test rubocop fixes removes helper methods that are in my opinion dead code more rubocop fixes rubocop -a --auto-gen-config
This commit is contained in:
parent
f6fb804bbe
commit
fb2b4d8a8a
331 changed files with 4263 additions and 4507 deletions
|
|
@ -1,18 +1,17 @@
|
|||
class UpdateGroupOrderTotals < ActiveRecord::Migration[4.2]
|
||||
def self.up
|
||||
say "If you have ever modified an order after it was settled, the group_order's " +
|
||||
"price may be calculated incorrectly. This can take a lot of time on a " +
|
||||
"large database."
|
||||
'price may be calculated incorrectly. This can take a lot of time on a ' +
|
||||
'large database.'
|
||||
|
||||
say "If you do want to update the ordergroup totals, open the rails console " +
|
||||
"(by running `rails c`), and enter:"
|
||||
say 'If you do want to update the ordergroup totals, open the rails console ' +
|
||||
'(by running `rails c`), and enter:'
|
||||
|
||||
say "GroupOrder.all.each { |go| go.order.closed? and go.update_price! }", subitem: true
|
||||
say 'GroupOrder.all.each { |go| go.order.closed? and go.update_price! }', subitem: true
|
||||
|
||||
say "You may want to check first that no undesired accounting issues are introduced. " +
|
||||
"It may be wise to discuss this with those responsible for the ordering finances."
|
||||
say 'You may want to check first that no undesired accounting issues are introduced. ' +
|
||||
'It may be wise to discuss this with those responsible for the ordering finances.'
|
||||
end
|
||||
|
||||
def self.down
|
||||
end
|
||||
def self.down; end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue