Sha256: 6a5aa9fa3f4f593340a12b1ae68bb46bbd25a4132f953349943a3220e79a2e92
Contents?: true
Size: 414 Bytes
Versions: 18
Compression:
Stored size: 414 Bytes
Contents
# frozen_string_literal: true # This migration comes from g5_updatable (originally 20141211711945) class UpdateNames < ActiveRecord::Migration[4.2] 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
18 entries across 18 versions & 1 rubygems