Passing rubocop

This commit is contained in:
José D. Gómez R 2019-03-14 09:02:42 -04:00
parent 6cd1de21dd
commit cb6e5ce29f
4 changed files with 3 additions and 7 deletions

View file

@ -12,7 +12,6 @@ class CreateVisits < ActiveRecord::Migration
t.integer :visitor_id t.integer :visitor_id
end end
# the rest are recommended but optional # the rest are recommended but optional
# simply remove the columns you don't want # simply remove the columns you don't want

View file

@ -15,7 +15,6 @@ class SplitTicketPriceInPriceAndCurrency < ActiveRecord::Migration
add_money :tickets, :price add_money :tickets, :price
end end
TempTicket.all.each do |ticket| TempTicket.all.each do |ticket|
# Replace currency symbol with ISO Code # Replace currency symbol with ISO Code
if ticket.ticket_price if ticket.ticket_price

View file

@ -10,7 +10,5 @@ class ChangeVisitIdTypeOfAhoyEventsToInteger < ActiveRecord::Migration[5.0]
else else
change_column :ahoy_events, :visit_id, :integer, limit: nil change_column :ahoy_events, :visit_id, :integer, limit: nil
end end
end end
end end