Sha256: 1d9667a9fd3dbd1f0a69c34d4fbd44c27254db1d031f1c0d23ae54badb5979a1
Contents?: true
Size: 421 Bytes
Versions: 55
Compression:
Stored size: 421 Bytes
Contents
# frozen_string_literal: true require "rails/generators/active_record" require "active_record/migration" module Mobility module ActiveRecordMigrationCompatibility def activerecord_migration_class if ::ActiveRecord::Migration.respond_to?(:current_version) "ActiveRecord::Migration[#{::ActiveRecord::Migration.current_version}]" else "ActiveRecord::Migration" end end end end
Version data entries
55 entries across 55 versions & 1 rubygems