Sha256: 63046cc0288ab8855a347373259b0250bbbb7d056b9fcddf82eb44a55ab1ddfb

Contents?: true

Size: 276 Bytes

Versions: 19

Compression:

Stored size: 276 Bytes

Contents

module HoboFields
  module Types
    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
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
hobo_fields-1.3.0.pre29 lib/hobo_fields/types/serialized_object.rb
hobo_fields-1.3.0.pre28 lib/hobo_fields/types/serialized_object.rb
hobo_fields-1.3.0.pre27 lib/hobo_fields/types/serialized_object.rb
hobo_fields-1.3.0.pre26 lib/hobo_fields/types/serialized_object.rb
hobo_fields-1.3.0.pre25 lib/hobo_fields/types/serialized_object.rb
hobo_fields-1.3.0.pre24 lib/hobo_fields/types/serialized_object.rb
hobo_fields-1.3.0.pre23 lib/hobo_fields/types/serialized_object.rb
hobo_fields-1.3.0.pre22 lib/hobo_fields/types/serialized_object.rb
hobo_fields-1.3.0.pre21 lib/hobo_fields/types/serialized_object.rb
hobo_fields-1.3.0.pre20 lib/hobo_fields/types/serialized_object.rb
hobo_fields-1.3.0.pre19 lib/hobo_fields/types/serialized_object.rb
hobo_fields-1.3.0.pre18 lib/hobo_fields/types/serialized_object.rb
hobo_fields-1.3.0.pre16 lib/hobo_fields/types/serialized_object.rb
hobo_fields-1.3.0.pre15 lib/hobo_fields/types/serialized_object.rb
hobo_fields-1.3.0.pre14 lib/hobo_fields/types/serialized_object.rb
hobo_fields-1.3.0.pre13 lib/hobo_fields/types/serialized_object.rb
hobo_fields-1.3.0.pre12 lib/hobo_fields/types/serialized_object.rb
hobo_fields-1.3.0.pre11 lib/hobo_fields/types/serialized_object.rb
hobo_fields-1.3.0.pre10 lib/hobo_fields/types/serialized_object.rb