Sha256: c3d20a31aa3a4a870cbf60b0a6bfb62cee2802b08af0885974808d58a1b18e92

Contents?: true

Size: 173 Bytes

Versions: 19

Compression:

Stored size: 173 Bytes

Contents

class SetShortcutToExistingTimeTable < ActiveRecord::Migration
  def up
    Chouette::TimeTable.all.each do |t|
      t.shortcuts_update
    end
  end

  def down
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
ninoxe-1.2.3 db/migrate/20130410100706_set_shortcut_to_existing_time_table.rb
ninoxe-1.2.2 db/migrate/20130410100706_set_shortcut_to_existing_time_table.rb
ninoxe-1.2.1 db/migrate/20130410100706_set_shortcut_to_existing_time_table.rb
ninoxe-1.2.0 db/migrate/20130410100706_set_shortcut_to_existing_time_table.rb
ninoxe-1.1.5 db/migrate/20130410100706_set_shortcut_to_existing_time_table.rb
ninoxe-1.1.4 db/migrate/20130410100706_set_shortcut_to_existing_time_table.rb
ninoxe-1.1.3 db/migrate/20130410100706_set_shortcut_to_existing_time_table.rb
ninoxe-1.1.2 db/migrate/20130410100706_set_shortcut_to_existing_time_table.rb
ninoxe-1.1.1 db/migrate/20130410100706_set_shortcut_to_existing_time_table.rb
ninoxe-1.1.0 db/migrate/20130410100706_set_shortcut_to_existing_time_table.rb
ninoxe-1.0.3 db/migrate/20130410100706_set_shortcut_to_existing_time_table.rb
ninoxe-1.0.2 db/migrate/20130410100706_set_shortcut_to_existing_time_table.rb
ninoxe-1.0.1 db/migrate/20130410100706_set_shortcut_to_existing_time_table.rb
ninoxe-1.0.0 db/migrate/20130410100706_set_shortcut_to_existing_time_table.rb
ninoxe-0.1.6 db/migrate/20130410100706_set_shortcut_to_existing_time_table.rb
ninoxe-0.1.5 db/migrate/20130410100706_set_shortcut_to_existing_time_table.rb
ninoxe-0.1.4 db/migrate/20130410100706_set_shortcut_to_existing_time_table.rb
ninoxe-0.1.3 db/migrate/20130410100706_set_shortcut_to_existing_time_table.rb
ninoxe-0.1.2 db/migrate/20130410100706_set_shortcut_to_existing_time_table.rb