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
postmodern has quit [Quit: Leaving]
lgierth_ has joined #datamapper
lgierth has quit [Ping timeout: 240 seconds]
lgierth_ has quit [Quit: Ex-Chat]
rsim has joined #datamapper
skade has joined #datamapper
skade_ has joined #datamapper
skade has quit [Ping timeout: 245 seconds]
mkf has quit [Disconnected by services]
mkf has joined #datamapper
mikecmpbll has joined #datamapper
rsim1 has joined #datamapper
skade_ has quit [Quit: Computer has gone to sleep.]
rsim2 has joined #datamapper
rsim has quit [Ping timeout: 260 seconds]
rsim1 has quit [Ping timeout: 260 seconds]
mkristian has joined #datamapper
rsim2 has quit [Quit: Leaving.]
skade has joined #datamapper
rsim has joined #datamapper
rsim has quit [Quit: Leaving.]
_br_ has quit [Ping timeout: 240 seconds]
_br_ has joined #datamapper
rsim has joined #datamapper
rsim has quit [Ping timeout: 260 seconds]
rsim has joined #datamapper
shingara has quit [*.net *.split]
shingara has joined #datamapper
skade_ has joined #datamapper
skade has quit [Ping timeout: 240 seconds]
skade_ has quit [Quit: Computer has gone to sleep.]
mkristian_ has joined #datamapper
mikecmpbll has quit [Ping timeout: 250 seconds]
mkristian_ has quit [Quit: bye]
skade has joined #datamapper
skade has quit [Quit: Computer has gone to sleep.]
ayonix has joined #datamapper
<ayonix>
hey, how can i include a has_many relationship in a query? a topic has_many notes and i want to have something like [{"id": 1, "notes":[1,2]}], how can i achieve that?
<ayonix>
or is Topic.all.to_json(relationships:{notes:{include:[:id]}}) the only way?
mikecmpbll has joined #datamapper
mkristian has quit [Quit: bye]
mikecmpbll has quit [Quit: i've nodded off.]
mikecmpbll has joined #datamapper
skade has joined #datamapper
rsim has quit [Quit: Leaving.]
namelessjon_ has quit [Quit: WeeChat 1.0]
namelessjon has joined #datamapper
lgierth has joined #datamapper
skade has quit [Quit: Computer has gone to sleep.]