Sha256: a847d3a713e79652a4cc7ad1ba37b90452fd55133e774975739e65c54286f77a

Contents?: true

Size: 255 Bytes

Versions: 21

Compression:

Stored size: 255 Bytes

Contents

module HoboFields

  class SerializedObject < Object
    
    COLUMN_TYPE = :text
    
    def self.declared(model, name, options)
      model.serialize name, options.delete(:class)
    end
    
    HoboFields.register_type(:serialized, self)

  end

end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
hobofields-1.1.0.pre3 lib/hobo_fields/serialized_object.rb
hobofields-1.1.0.pre2 lib/hobo_fields/serialized_object.rb
hobofields-1.1.0.pre0 lib/hobo_fields/serialized_object.rb
hobofields-1.0.2 lib/hobo_fields/serialized_object.rb
hobofields-1.0.1 lib/hobo_fields/serialized_object.rb
hobofields-1.0.0 lib/hobo_fields/serialized_object.rb
hobofields-0.9.106 lib/hobo_fields/serialized_object.rb
hobofields-0.9.105 lib/hobo_fields/serialized_object.rb
hobofields-0.9.104 lib/hobo_fields/serialized_object.rb
hobofields-0.9.103 lib/hobo_fields/serialized_object.rb
hobofields-0.9.102 lib/hobo_fields/serialized_object.rb
hobofields-0.9.101 lib/hobo_fields/serialized_object.rb
hobofields-0.9.100 lib/hobo_fields/serialized_object.rb
hobofields-0.9.0 lib/hobo_fields/serialized_object.rb
hobofields-0.8.10 lib/hobo_fields/serialized_object.rb
hobofields-0.8.9 lib/hobo_fields/serialized_object.rb
hobofields-0.8.8 lib/hobo_fields/serialized_object.rb
hobofields-0.8.7 lib/hobo_fields/serialized_object.rb
hobofields-0.8.6 lib/hobo_fields/serialized_object.rb
hobofields-0.8.5 lib/hobo_fields/serialized_object.rb