Sha256: f57be12da1e10d3d762f1748f4a22b89eb0eb101b540a8dd1a2f39fa5d901617
Contents?: true
Size: 779 Bytes
Versions: 5
Compression:
Stored size: 779 Bytes
Contents
# -*- encoding : utf-8 -*- class InputType < Cardio::Migration::Core def up update_card! :input, name: "*input type", codename: "input_type", update_referers: true update_card! :options, name: "*content options", codename: "content_options", update_referers: true update_card! :options_label, name: "*content option view", codename: "content_option_view", update_referers: true Card::Cache.reset_all ensure_card %i[all content_option_view], content: "smart_label" Card.search right: :content_option_view, left: { not: :all } do |cov_rule| cov_rule.delete! end end end
Version data entries
5 entries across 5 versions & 1 rubygems