Sha256: 86efa8d9cd64900676be26a2ce86b79cbbe860763acf135c7d562bb71abce8a8

Contents?: true

Size: 124 Bytes

Versions: 55

Compression:

Stored size: 124 Bytes

Contents

class UpdateOrderState < ActiveRecord::Migration
  def self.up
    Order.all.map(&:update!)
  end

  def self.down
  end
end

Version data entries

55 entries across 43 versions & 9 rubygems

Version Path
spree_core-0.70.RC1 db/migrate/20101026185022_update_order_state.rb
spree_core-0.60.1 db/migrate/20101026185022_update_order_state.rb
spree_core-0.60.0 db/migrate/20101026185022_update_order_state.rb
spree_core-0.60.0.RC1 db/migrate/20101026185022_update_order_state.rb
spree_essential_press-0.1.0.pre3 test/dummy/db/migrate/20101026185022_update_order_state.rb
spree_essential_press-0.1.0.pre2 test/dummy/db/migrate/20101026185022_update_order_state.rb
spree_core-0.50.2 db/migrate/20101026185022_update_order_state.rb
spree_core-0.50.1 db/migrate/20101026185022_update_order_state.rb
spree_core-0.50.0 db/migrate/20101026185022_update_order_state.rb
spree_core-0.40.3 db/migrate/20101026185022_update_order_state.rb
spree_core-0.40.2 db/migrate/20101026185022_update_order_state.rb
spree_core-0.40.1 db/migrate/20101026185022_update_order_state.rb
spree_core-0.40.0 db/migrate/20101026185022_update_order_state.rb
spree_core-0.30.1 db/migrate/20101026185022_update_order_state.rb
spree_core-0.30.0 db/migrate/20101026185022_update_order_state.rb