Class: HoboFields::SerializedObject
- Inherits:
-
Object
- Object
- HoboFields::SerializedObject
- Defined in:
- lib/hobo_fields/serialized_object.rb
Constant Summary collapse
- COLUMN_TYPE =
:text
Class Method Summary collapse
Class Method Details
.declared(model, name, options) ⇒ Object
7 8 9 |
# File 'lib/hobo_fields/serialized_object.rb', line 7 def self.declared(model, name, ) model.serialize name, .delete(:class) || Object end |