Sha256: 2bc13d82027dbd58ac995e30598b5d545270b847b300125781c9c5e9d281bfa2
Contents?: true
Size: 375 Bytes
Versions: 4
Compression:
Stored size: 375 Bytes
Contents
# -*- encoding : utf-8 -*- class CommonCssPatch < ActiveRecord::Migration include Wagn::MigrationHelper def up contentedly do dir = "#{Wagn.gem_root}/db/migrate_cards/data/1.12_stylesheets" card = Card["style: common"] if card && card.pristine? card.update_attributes! :content=>File.read("#{dir}/common.scss") end end end end
Version data entries
4 entries across 4 versions & 1 rubygems