Sha256: 20d0ee30999f9cb48020f49c04b35c63aca805dfbe376524dc10b0a5682d4f5c
Contents?: true
Size: 301 Bytes
Versions: 12
Compression:
Stored size: 301 Bytes
Contents
# -*- encoding : utf-8 -*- class MigrateSkins < Card::Migration::Core def up Card.search(link_to: "bootstrap default skin", type_id: Card::SkinID) do |card| card.drop_item! "bootstrap default skin" card.update_attributes! type_id: Card::CustomizedBootswatchSkinID end end end
Version data entries
12 entries across 12 versions & 1 rubygems