Module: FlexColumns::ActiveRecord::Base

Extended by:
ActiveSupport::Concern
Included in:
ActiveRecord::Base
Defined in:
lib/flex_columns/active_record/base.rb

Overview

This is the module that gets included into ::ActiveRecord::Base when flex_columns is loaded. (No other changes are made to the ActiveRecord API, except for classes where you’ve declared flex_column or include_flex_columns_from.) All it does is look for calls to our methods, and, when they are called, include the correct module and then repeat the call again.

Defined Under Namespace

Modules: ClassMethods