Module: Mobility::Backends::ActiveRecord
- Included in:
- Column, Container, KeyValue, Serialized, Table
- Defined in:
- lib/mobility/backends/active_record/json.rb,
lib/mobility/backends/active_record.rb,
lib/mobility/backends/active_record/jsonb.rb,
lib/mobility/backends/active_record/hstore.rb,
lib/mobility/backends/active_record/pg_hash.rb
Overview
Internal class used by ActiveRecord backends backed by a Postgres data type (hstore, jsonb).
Defined Under Namespace
Modules: ClassMethods Classes: Column, Container, Hstore, Json, Jsonb, KeyValue, Serialized, Table
Class Method Summary collapse
Class Method Details
.included(backend_class) ⇒ Object
8 9 10 11 |
# File 'lib/mobility/backends/active_record.rb', line 8 def self.included(backend_class) backend_class.include(Backend) backend_class.extend(ClassMethods) end |