Class: ActiveRecord::Base
- Inherits:
-
Object
- Object
- ActiveRecord::Base
- Includes:
- FlexColumns::ActiveRecord::Base
- Defined in:
- lib/flex_columns.rb
Overview
Include a very few methods into ActiveRecord::Base. If you declare a flex column using flex_column
, or include flex columns using include_flex_columns_from
, we include additional modules into your model class that do more work. This strategy lets us make sure we add as little as possible to ActiveRecord::Base for classes that don’t have anything to do with flex columns.