Class: ActiveRecord::Type::Text

Inherits:
ActiveModel::Type::String show all
Defined in:
activerecord/lib/active_record/type/text.rb

Overview

:nodoc:

Direct Known Subclasses

Encryption::EncryptedAttributeType

Instance Attribute Summary

Attributes inherited from ActiveModel::Type::Value

#limit, #precision, #scale

Instance Method Summary collapse

Methods inherited from ActiveModel::Type::String

#changed_in_place?, #to_immutable_string

Methods inherited from ActiveModel::Type::ImmutableString

#initialize, #serialize, #serialize_cast_value

Methods inherited from ActiveModel::Type::Value

#==, #as_json, #assert_valid_value, #binary?, #cast, #changed?, #changed_in_place?, #deserialize, #force_equality?, #hash, #immutable_value, #initialize, #map, #serializable?, #serialize, #type_cast_for_schema, #value_constructed_by_mass_assignment?

Constructor Details

This class inherits a constructor from ActiveModel::Type::ImmutableString

Instance Method Details

#typeObject



6
7
8
# File 'activerecord/lib/active_record/type/text.rb', line 6

def type
  :text
end