module Audited::Generators::Migration

Private Instance Methods

timestamped_migrations?() click to toggle source
# File lib/generators/audited/migration.rb, line 18
def timestamped_migrations?
  (Rails.gem_version >= Gem::Version.new("7.0")) ?
    ::ActiveRecord.timestamped_migrations :
    ::ActiveRecord::Base.timestamped_migrations
end