Class: Tina4::Realtime::Channel
- Defined in:
- lib/tina4/realtime/channel.rb
Overview
Channel - a conversation stream inside a workspace. kind is one of public | private | dm. workspace_id is a plain integer FK column (the realtime handlers query it directly; no relationship wiring is needed for the control plane).
Method Summary
Methods inherited from ORM
all, auto_crud, auto_crud=, auto_map, auto_map=, belongs_to, clear_rel_cache, count, create, create_table, db, db=, #delete, eager_load, #errors, exists, field_mapping, field_mapping=, find, find_by_id, find_or_fail, #force_delete, from_hash, get_db, get_db_column, #get_error, has_many, has_one, inherited, #initialize, #last_error, #load, model_subclasses, #persisted?, query, relationship_definitions, #restore, #save, scope, select, #select, select_one, soft_delete, soft_delete=, soft_delete_field, soft_delete_field=, #to_array, #to_h, #to_json, #to_s, #validate, where, with_trashed
Methods included from FieldTypes
Constructor Details
This class inherits a constructor from Tina4::ORM