Class: ActiveRecord::Type::Text
- Inherits:
-
ActiveModel::Type::String
- Object
- ActiveModel::Type::Value
- ActiveModel::Type::ImmutableString
- ActiveModel::Type::String
- ActiveRecord::Type::Text
- Defined in:
- activerecord/lib/active_record/type/text.rb
Overview
:nodoc:
Instance Attribute Summary
Attributes inherited from ActiveModel::Type::Value
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, #initialize, #map, #mutable?, #serializable?, #serialize, #serialized?, #type_cast_for_schema, #value_constructed_by_mass_assignment?
Methods included from ActiveModel::Type::SerializeCastValue
included, #initialize, #itself_if_serialize_cast_value_compatible, serialize
Methods included from ActiveSupport::Concern
#append_features, #class_methods, extended, #included, #prepend_features, #prepended
Constructor Details
This class inherits a constructor from ActiveModel::Type::ImmutableString
Instance Method Details
#type ⇒ Object
6 7 8 |
# File 'activerecord/lib/active_record/type/text.rb', line 6 def type :text end |