Sha256: ef5f4491f91ba3ed802a42e987931fab35d4de2b6e94f7c94a42058d1ea2a2ab
Contents?: true
Size: 309 Bytes
Versions: 19
Compression:
Stored size: 309 Bytes
Contents
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
19 entries across 19 versions & 1 rubygems