Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ViditChitkara committed Feb 2, 2018
1 parent eba4a71 commit 9119f33
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
class SyncUserStatusWithDrupalUserStatus < ActiveRecord::Migration
def up
DrupalUser.all.each do |du|
user = du.user
user.status = du.status
DrupalUser.all.each do |du|
user = du.user
user.status = du.status
user.save({})
end
end
end

def down
Expand Down

0 comments on commit 9119f33

Please sign in to comment.