Module: ActiveID::Type

Defined in:
lib/active_id/type.rb

Overview

ActiveRecord’s attribute types for serializing UUIDs.

Examples

class Book
  attribute :id, ActiveID::Type::BinaryUUID.new
end

See also

  • docs for ::ActiveRecord::Attributes::ClassMethods#attribute

  • docs for ::ActiveRecord::Type::Value

Defined Under Namespace

Classes: Base, BinaryUUID, StringUUID