Class: CassandraObject::Base

Inherits:
Object
  • Object
show all
Extended by:
ActiveModel::Naming, ActiveSupport::DescendantsTracker, Model
Includes:
ActiveModel::Conversion, AttributeMethods, AttributeMethods::Dirty, AttributeMethods::PrimaryKey, AttributeMethods::Typecasting, BelongsTo, Callbacks, Core, Identity, Inspect, Persistence, Scoping, Serialization, Timestamps, Validations
Defined in:
lib/cassandra_object/base.rb

Direct Known Subclasses

BaseSchema, BaseSchemaless, BaseSchemalessDynamic

Class Method Summary collapse

Methods included from Model

_key, _keys, allow_filtering, allow_filtering=, base_class, column_family, column_family=, config, config=, keys, keys=

Methods included from Core

#==, #eql?, #get_cql_response, #hash, #initialize, #initialize_dup, #to_param

Methods included from Callbacks

#destroy

Methods included from BelongsTo

#belongs_to_association

Methods included from AttributeMethods::PrimaryKey

#attributes, #id, #id=

Methods included from AttributeMethods::Dirty

#reload, #save, #write_attribute

Methods included from Validations

#save, #save!

Methods included from AttributeMethods

#attribute_exists?, #attributes, #attributes=, #method_missing, #read_attribute, #respond_to?, #write_attribute

Methods included from Persistence

#becomes, #destroy, #destroyed?, #new_record?, #persisted?, #reload, #save, #update_attribute, #update_attributes, #update_attributes!

Methods included from Inspect

#attribute_for_inspect, #inspect

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class CassandraObject::AttributeMethods

Class Method Details

.timestampsObject



30
31
32
# File 'lib/cassandra_object/base.rb', line 30

def self.timestamps
  true
end