module Outrigger
Constants
- VERSION
Attributes
Public Class Methods
Source
# File lib/outrigger.rb, line 15 def filter(*tags) tags = tags.flatten.map(&:to_sym) proc { |migration| (tags - migration.tags).empty? } end
Source
# File lib/outrigger.rb, line 20 def migration_context if ActiveRecord.version < Gem::Version.new('7.2') ActiveRecord::Base.connection.migration_context else ActiveRecord::Base.connection_pool.migration_context end end