Nick Sutterer

Results 675 comments of Nick Sutterer

Ah, here's a first draft :grin: ``` ruby module BookRepresenter include Representable::Hash property :name property :isbn def to_hash(*) hash = super array = [] array

BTW, congratulations for opening issue #100 on representable! :fireworks:

Hey Matt, have you tried using the new `Representable::Debug` to see what's happening? https://github.com/apotonick/representable#debugging I'm not too sure about `XML::Collection` maybe we could add a test to assure it does...

I started working on it recently and it probably needs to override more methods, so feel free to PR/comment here what you need to add in the `Debug` module in...

That really looks like a namespace problem - I didn't even think of that. Check out the `#remove_namespace!` method, can you copy that into the `Collection` to see if that...

Oh, ok, thanks Matt. That module/class things sounds weird as this is completely generic code in Representable. Could you give me a breaking test? Just add a new test file,...

Matt- this sounds like you're not requiring all files necessary to run this properly. I'll check out your test, thanks so much.

Ideally you set up a small app that only does this one thing. We can then pull that into a test once we found out how to provoke it. Also,...

Uhm, but isn't what you're asking for exactly what `::representation_wrap` with a lambda does? The problem here is that Representable tries hard to be a generic gem that explicitely does...

Oh no, wait, this does not work, yet! :laughing: :rocket: