Sha256: d0a2dfc0a737e44b60bb693a13a859c0eb1e2e0e8d41c8c06cc0cc207329388b
Contents?: true
Size: 280 Bytes
Versions: 7
Compression:
Stored size: 280 Bytes
Contents
class FixInvalidInterfaces < ActiveRecord::Migration class FakeNic < ApplicationRecord self.table_name = 'nics' def type Nic::Base end end def up FakeNic.where(:ip => "Unknown").each do |nic| nic.update_attributes(:ip => nil) end end end
Version data entries
7 entries across 7 versions & 1 rubygems