Class: ActiveRecord::Coders::NestedHstore

Inherits:
Hstore
  • Object
show all
Defined in:
lib/active_record/coders/nested_hstore.rb

Instance Method Summary collapse

Constructor Details

#initialize(default = nil) ⇒ NestedHstore

Returns a new instance of NestedHstore.



4
5
6
7
# File 'lib/active_record/coders/nested_hstore.rb', line 4

def initialize(default=nil)
  super(default)
  @nested_serializer = ::NestedHstore::Serializer.new
end