Module: Cangaroo::Migration
- Defined in:
- lib/cangaroo/migration.rb
Class Method Summary collapse
Class Method Details
.[](version) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/cangaroo/migration.rb', line 3 def self.[](version) if Rails.gem_version >= Gem::Version.new('5.0') ActiveRecord::Migration[version] else ActiveRecord::Migration end end |