Sha256: 5d930c439e967067483666e7cf4781084c94ecd26eaeb6bc2c646f20c0f0cba7
Contents?: true
Size: 378 Bytes
Versions: 12
Compression:
Stored size: 378 Bytes
Contents
# This migration comes from g5_updatable (originally 20141211711945) class UpdateNames < ActiveRecord::Migration def change G5Updatable::Client.all.each do |client| client.update_attributes(name: client.properties['name']) end G5Updatable::Location.all.each do |location| location.update_attributes(name: location.properties['name']) end end end
Version data entries
12 entries across 12 versions & 1 rubygems