Class: Tina4::Realtime::Message
- Defined in:
- lib/tina4/realtime/message.rb
Overview
Message - one posted message in a channel. thread_id is nil for a top-level message, or the id of the parent message for a threaded reply. edited_at is nil until an edit.
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