Sha256: 4660f1394efde456be4e035c5ea5e7d7bcf633ef9cfb1fb0197eab8d3a195345

Contents?: true

Size: 231 Bytes

Versions: 12

Compression:

Stored size: 231 Bytes

Contents

class ConvertSlideOptions < ActiveRecord::Migration
  class MigrationSlide < ActiveRecord::Base
    self.table_name = :bit_core_slides
  end

  def change
    MigrationSlide.find_each do |slide|
      slide.save!
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
think_feel_do_engine-3.22.9 db/migrate/20160616162347_convert_slide_options.rb
think_feel_do_engine-3.22.8 db/migrate/20160616162347_convert_slide_options.rb
think_feel_do_engine-3.22.7 db/migrate/20160616162347_convert_slide_options.rb
think_feel_do_engine-3.22.6 db/migrate/20160616162347_convert_slide_options.rb
think_feel_do_engine-3.22.5 db/migrate/20160616162347_convert_slide_options.rb
think_feel_do_engine-3.22.4 db/migrate/20160616162347_convert_slide_options.rb
think_feel_do_engine-3.22.2 db/migrate/20160616162347_convert_slide_options.rb
think_feel_do_engine-3.22.1 db/migrate/20160616162347_convert_slide_options.rb
think_feel_do_engine-3.22.0 db/migrate/20160616162347_convert_slide_options.rb
think_feel_do_engine-3.21.2 db/migrate/20160616162347_convert_slide_options.rb
think_feel_do_engine-3.21.1 db/migrate/20160616162347_convert_slide_options.rb
think_feel_do_engine-3.21.0 db/migrate/20160616162347_convert_slide_options.rb