Module: ActiveRecord::Materialized::RefreshCallbacks

Included in:
View
Defined in:
lib/activerecord/materialized/refresh_callbacks.rb

Overview

Adds before_refresh / after_refresh lifecycle callbacks to a View.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



7
8
9
# File 'lib/activerecord/materialized/refresh_callbacks.rb', line 7

def self.included(base)
  base.extend(ClassMethods)
end