9 lines
215 B
Ruby
9 lines
215 B
Ruby
|
class ChangeBidOpenAnonymousEvaluation < ActiveRecord::Migration
|
||
|
def chang
|
||
|
Bid.where("open_anonymous_evaluation IS NULL").each do |bid|
|
||
|
bid.open_anonymous_evaluation = 0
|
||
|
bid.save
|
||
|
end
|
||
|
end
|
||
|
end
|