Class: ActiveRecord::Coders::NestedHstore
- Inherits:
-
Hstore
- Object
- Hstore
- ActiveRecord::Coders::NestedHstore
- Defined in:
- lib/active_record/coders/nested_hstore.rb
Instance Method Summary collapse
-
#initialize(default = nil) ⇒ NestedHstore
constructor
A new instance of NestedHstore.
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 |