Module: CouchFoo

Defined in:
lib/couch_foo/database.rb,
lib/couch_foo/base.rb,
lib/couch_foo/dirty.rb,
lib/couch_foo/observer.rb,
lib/couch_foo/callbacks.rb,
lib/couch_foo/timestamp.rb,
lib/couch_foo/reflection.rb,
lib/couch_foo/named_scope.rb,
lib/couch_foo/validations.rb,
lib/couch_foo/associations.rb,
lib/couch_foo/calculations.rb,
lib/couch_foo/view_methods.rb,
lib/couch_foo/serialization.rb,
lib/couch_foo/attribute_methods.rb,
lib/couch_foo/serializers/xml_serializer.rb,
lib/couch_foo/serializers/json_serializer.rb,
lib/couch_foo/associations/association_proxy.rb,
lib/couch_foo/associations/has_one_association.rb,
lib/couch_foo/associations/has_many_association.rb,
lib/couch_foo/associations/association_collection.rb,
lib/couch_foo/associations/belongs_to_association.rb,
lib/couch_foo/associations/belongs_to_polymorphic_association.rb,
lib/couch_foo/associations/has_and_belongs_to_many_association.rb

Overview

TODO column, sql, record and table search

Defined Under Namespace

Modules: Associations, AttributeMethods, Calculations, Callbacks, Database, Dirty, NamedScope, Observing, Reflection, Serialization, Timestamp, Validations, ViewMethods Classes: Base, CouchFooError, DangerousAttributeError, DatabaseWrapper, DocumentConflict, DocumentNotFound, DocumentNotSaved, EagerLoadPolymorphicError, Errors, HasManyThroughAssociationNotFoundError, HasManyThroughAssociationPointlessSourceTypeError, HasManyThroughAssociationPolymorphicError, HasManyThroughCantAssociateNewRecords, HasManyThroughCantAssociateThroughHasManyReflection, HasManyThroughCantDissociateNewRecords, HasManyThroughSourceAssociationMacroError, HasManyThroughSourceAssociationNotFoundError, Observer, Property, ReadOnlyAssociation, ReadOnlyRecord, RecordInvalid, SubclassNotFound, View, XmlSerializer

Constant Summary collapse

AVAILABLE_TYPES =

The types that are permitted for properties. At the moment this is just used to determine whether a .to_xml call should be made on the type during serialization but I imagine it will be used to enforce type checking as well at a later date

[String, Integer, Float, DateTime, Time, Date, TrueClass, Boolean]