Sha256: 87fb3347984178872c5d2624542328f53e69e6250781a64e640633e9793ade6e

Contents?: true

Size: 243 Bytes

Versions: 40

Compression:

Stored size: 243 Bytes

Contents

module NullAttributeReplacer
  def serializable_hash(adapter_options = nil, options = {}, adapter_instance = self.class.serialization_adapter_instance)
	  hash = super
	  hash.each { |key, value| hash[key] = "" if value.nil? }
	  hash
	end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
kuppayam-0.2.12.pre.materialize app/serializers/null_attribute_replacer.rb
kuppayam-0.2.11.pre.materialize app/serializers/null_attribute_replacer.rb
kuppayam-0.2.10.pre.materialize app/serializers/null_attribute_replacer.rb
kuppayam-0.2.9.pre.materialize app/serializers/null_attribute_replacer.rb
kuppayam-0.2.8.pre.materialize app/serializers/null_attribute_replacer.rb
kuppayam-0.2.7.pre.materialize app/serializers/null_attribute_replacer.rb
kuppayam-0.2.6.pre.materialize app/serializers/null_attribute_replacer.rb
kuppayam-0.2.5.pre.materialize app/serializers/null_attribute_replacer.rb
kuppayam-0.2.4.pre.materialize app/serializers/null_attribute_replacer.rb
kuppayam-0.2.3.pre.materialize app/serializers/null_attribute_replacer.rb
kuppayam-0.2.2.pre.materialize app/serializers/null_attribute_replacer.rb
kuppayam-0.2.1.pre.materialize app/serializers/null_attribute_replacer.rb
kuppayam-0.2.0.pre.materialize app/serializers/null_attribute_replacer.rb
kuppayam-0.1.39 app/serializers/null_attribute_replacer.rb
kuppayam-0.1.38 app/serializers/null_attribute_replacer.rb
kuppayam-0.1.37 app/serializers/null_attribute_replacer.rb
kuppayam-0.1.36 app/serializers/null_attribute_replacer.rb
kuppayam-0.1.35 app/serializers/null_attribute_replacer.rb
kuppayam-0.1.34 app/serializers/null_attribute_replacer.rb
kuppayam-0.1.33 app/serializers/null_attribute_replacer.rb