Module: ActiveAttr

Extended by:
ActiveSupport::Autoload
Defined in:
lib/active_attr.rb,
lib/active_attr/error.rb,
lib/active_attr/model.rb,
lib/active_attr/logger.rb,
lib/active_attr/railtie.rb,
lib/active_attr/version.rb,
lib/active_attr/matchers.rb,
lib/active_attr/attributes.rb,
lib/active_attr/basic_model.rb,
lib/active_attr/typecasting.rb,
lib/active_attr/serialization.rb,
lib/active_attr/mass_assignment.rb,
lib/active_attr/query_attributes.rb,
lib/active_attr/attribute_defaults.rb,
lib/active_attr/typecasting/boolean.rb,
lib/active_attr/attribute_definition.rb,
lib/active_attr/block_initialization.rb,
lib/active_attr/typecasted_attributes.rb,
lib/active_attr/unknown_attribute_error.rb,
lib/active_attr/chainable_initialization.rb,
lib/active_attr/dangerous_attribute_error.rb,
lib/active_attr/typecasting/date_typecaster.rb,
lib/active_attr/typecasting/float_typecaster.rb,
lib/active_attr/typecasting/object_typecaster.rb,
lib/active_attr/typecasting/string_typecaster.rb,
lib/active_attr/typecasting/boolean_typecaster.rb,
lib/active_attr/typecasting/integer_typecaster.rb,
lib/active_attr/matchers/have_attribute_matcher.rb,
lib/active_attr/typecasting/date_time_typecaster.rb,
lib/active_attr/typecasting/big_decimal_typecaster.rb,
lib/active_attr/typecasting/unknown_typecaster_error.rb

Overview

ActiveAttr is a set of modules to enhance Plain Old Ruby Objects (POROs)

These modules give your objects the type of features that are normally found in popular Object Relation Mappers (ORMs) like ActiveRecord, Sequel, and Mongoid. The goal is to lower the bar for creating easy-to-use Ruby models.

Defined Under Namespace

Modules: AttributeDefaults, Attributes, BasicModel, BlockInitialization, ChainableInitialization, Error, Logger, MassAssignment, Matchers, Model, QueryAttributes, Serialization, TypecastedAttributes, Typecasting Classes: AttributeDefinition, DangerousAttributeError, UnknownAttributeError

Constant Summary collapse

VERSION =

Complete version string

Since:

  • 0.1.0

"0.17.1"