Module: ActiveRecordTweaks::Integration

Defined in:
lib/active_record_tweaks/integration.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
8
9
10
11
12
# File 'lib/active_record_tweaks/integration.rb', line 3

def self.included(base)
  base.class_eval do
    # rubocop:disable all
    warn "[DEPRECATION] including `ActiveRecordTweaks::Integration` is deprecated. Please see README for recommanded usage."
    # rubocop:enable all

    extend ClassMethods
    include InstanceMethods
  end
end