dkubb changed the topic of #datamapper to: Datamapper v1.2.0 | Mailing List: http://is.gd/aa9D | Logs: http://is.gd/qWAL7V | DataMapper 2 Renamed to ROM, see #rom-rb for development
lgierth has quit [Quit: Ex-Chat]
flori has quit [Ping timeout: 245 seconds]
flori has joined #datamapper
lgierth has joined #datamapper
lgierth has quit [Quit: Ex-Chat]
lgierth has joined #datamapper
lgierth has quit [Quit: Ex-Chat]
lgierth has joined #datamapper
lgierth has quit [Quit: Ex-Chat]
mikecmpbll has joined #datamapper
lgierth has joined #datamapper
rsim has joined #datamapper
skade has joined #datamapper
postmodern has quit [Remote host closed the connection]
mluscon has joined #datamapper
<mluscon> Hi all, is there any way how to serialize(json) my dm objects with their relationships deeper than just one level?
<mluscon> e.g.: parent.child.something
<lgierth> if you override Resource#as_json, iirc
<lgierth> parent.to_json(methods: [:child]) might be what you're looking for
<lgierth> mluscon: ^
<mluscon> lgierth: thank you, I will take a look at it
lgierth has quit [Quit: Ex-Chat]
rsim has quit [Quit: Leaving.]
mkristian has joined #datamapper
lgierth has joined #datamapper
lgierth has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Quit: ciao.]
mikecmpbll has joined #datamapper
postmodern has joined #datamapper
mkristian has quit [Quit: bye]
_br_ has quit [Ping timeout: 250 seconds]
_br_ has joined #datamapper
_br_ has quit [Ping timeout: 255 seconds]
_br_ has joined #datamapper
_br_ has quit [Ping timeout: 264 seconds]
mluscon has quit [Ping timeout: 244 seconds]
skade has quit [Quit: Computer has gone to sleep.]