Module: ActiveRecord::Materialized::RefreshCallbacks
- Extended by:
- T::Sig
- 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
11 12 13 |
# File 'lib/activerecord/materialized/refresh_callbacks.rb', line 11 def self.included(base) base.extend(ClassMethods) end |