Skip to content

Commit

Permalink
Appease rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
Undo1 committed Jul 14, 2017
1 parent d873b5d commit 62f702b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions db/migrate/20170707225913_retroactive_username_refresh.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# frozen_string_literal: true

class RetroactiveUsernameRefresh < ActiveRecord::Migration[5.1]
def up
User.where(username: ["1", "", nil]).each(&:get_username)
User.where(username: ['1', '', nil]).each(&:get_username)
end

def down
end
def down; end
end

0 comments on commit 62f702b

Please sign in to comment.