Closed deemytch closed 10 years ago
Do the param strings respond to attributes
? It does sound like something's fishy with put_attributes_in_hash!
in that scenario.
Sorry, don't understand you. Could you explain?
items.first[:param].first.attributes
Does this work and give you a hash containing { :name => 'Color' }
?
items.first[:param].first.attributes => {"name"=>"Color"} yes, got it! Thank you.
categories.first.attributes => {"id"=>"1784", "parentId"=>"1781"}
I think that likely to be in the Readme, what you think?
Yeah, I'd like some better documentation
Hi When parsing that piece
with that code:
I get
instead of, for ex.
etc. Also that piece
<category id="1783" parentId="1781">Jeans</category>
is parsed simply as "Jeans" ignoring:id
and:parentId
I really don't know how exactly that situation must be processed, but sure there's information lost, and this is unwanted.