Sha256: 05ee51af31a88f8c879b421c1e733445e0246077b3f69c8d0bd9748fac96ca77
Contents?: true
Size: 388 Bytes
Versions: 11
Compression:
Stored size: 388 Bytes
Contents
class GetGeocodes < ActiveRecord::Migration def self.up # [Event, EventVenue].each do |klass| # klass.reset_column_information # klass.find(:all).each do |this| # this.send :geocode_location # if this.changed? # p "#{this.location} -> #{this.geocode}" # this.save! # end # end # end end def self.down end end
Version data entries
11 entries across 11 versions & 1 rubygems