Sha256: 67c02ce5b34d8f9c903607c49e54ce098eff1a42f0acde5731684449fdccd3bb

Contents?: true

Size: 1.28 KB

Versions: 1

Compression:

Stored size: 1.28 KB

Contents

require 'active_support/all'
require 'active_model'
require 'cassandra-cql'
require 'cassandra_object/errors'

module CassandraObject
  extend ActiveSupport::Autoload

  autoload :AttributeMethods
  autoload :Base
  autoload :BelongsTo
  autoload :Callbacks
  autoload :Config
  autoload :Connection
  autoload :Consistency
  autoload :Core
  autoload :Identity
  autoload :Inspect
  autoload :Persistence
  autoload :Savepoints
  autoload :Schema
  autoload :Scope
  autoload :Scoping
  autoload :Serialization
  autoload :Timestamps
  autoload :Type
  autoload :Validations

  module BelongsTo
    extend ActiveSupport::Autoload

    autoload :Association
    autoload :Builder
    autoload :Reflection
  end

  module AttributeMethods
    extend ActiveSupport::Autoload

    eager_autoload do
      autoload :Definition
      autoload :Dirty
      autoload :PrimaryKey
      autoload :Typecasting
    end
  end

  module Types
    extend ActiveSupport::Autoload

    autoload :BaseType
    autoload :ArrayType
    autoload :BooleanType
    autoload :DateType
    autoload :FloatType
    autoload :IntegerType
    autoload :JsonType
    autoload :StringType
    autoload :TimeType
  end
end

require 'cassandra_object/railtie' if defined?(Rails)
require 'cassandra_object/rails_initializer' if defined?(Rails)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cassandra_object_rails-0.0.1 lib/cassandra_object_rails.rb