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
zombor has joined #datamapper
zombor has joined #datamapper
zombor has quit [Ping timeout: 264 seconds]
v0n has joined #datamapper
v0n has quit [Ping timeout: 248 seconds]
ckrailo has quit [Quit: Computer has gone to sleep.]
zombor has joined #datamapper
postmodern has joined #datamapper
zombor has quit [Ping timeout: 256 seconds]
solnic has quit [Quit: Leaving...]
dkubb has quit [Quit: Linkinus - http://linkinus.com]
zombor has joined #datamapper
zombor has quit [Changing host]
zombor has joined #datamapper
dkubb has joined #datamapper
zombor has quit [Remote host closed the connection]
v0n has joined #datamapper
v0n has quit [Ping timeout: 276 seconds]
rsim has joined #datamapper
rsim has quit [Ping timeout: 240 seconds]
zombor has joined #datamapper
nwmcsween has quit [Read error: No route to host]
nwmcsween has joined #datamapper
nwmcsween has quit [Ping timeout: 256 seconds]
Ortuna has quit [Quit: Computer has gone to sleep.]
nwmcsween has joined #datamapper
zombor has quit [Remote host closed the connection]
snusnu has quit [Quit: Leaving.]
travis-ci has joined #datamapper
<travis-ci> [travis-ci] datamapper/dm-transactions#2 (release-1.2 - f59e662 : Dan Kubb): The build passed.
travis-ci has left #datamapper [#datamapper]
travis-ci has joined #datamapper
<travis-ci> [travis-ci] datamapper/dm-transactions#3 (release-1.2 - 6f3ed8b : Dan Kubb): The build passed.
travis-ci has left #datamapper [#datamapper]
Voker57 has joined #datamapper
nwmcsween has quit [Ping timeout: 264 seconds]
nwmcsween has joined #datamapper
solnic has joined #datamapper
franckverrot_ is now known as franckverrot
postmodern has quit [Quit: Leaving]
rsim has joined #datamapper
rsim has quit [Ping timeout: 240 seconds]
mbj has joined #datamapper
solnic has quit [Ping timeout: 256 seconds]
solnic has joined #datamapper
solnic has quit [Read error: Connection reset by peer]
talntid2 has joined #datamapper
talntid has quit [Ping timeout: 240 seconds]
talntid has joined #datamapper
talntid2 has quit [Ping timeout: 248 seconds]
mbj has quit [Remote host closed the connection]
mbj has joined #datamapper
solnic has joined #datamapper
campezzi has joined #datamapper
<campezzi> hey everyone. anyone available for a quick beginner question?
<mbj> campezzi: shoot!
<mbj> campezzi: answering questions, about answering questions is more boring. So just ask your question!
<campezzi> just looking for a workaround to the n+1 issue when iterating through a collection that has a many-to-many relationship. ie getting a collection of "videos" and iterating through the "tags" collection of each of those
<campezzi> I noticed strategic eager loading works really well in one-to-many relationships, but doesn't seem to be doing anything on many-to-many :)
<mbj> campezzi: SEL (strategic eager loading) does not support multiple levels
<mbj> campezzi: There is a gist on github with a workaround
<mbj> solnic: but dunno where
<campezzi> hm, lets see if I can find that in google. I thought about getting all tags on a separate query and build a "map" instead of relying on something like videos.tags.each. I would probably need to set a join table though (at the moment I'm just using Resource)
<solnic> SEL is very limited and buggy
rsim has joined #datamapper
<campezzi> yup. wish i could eager load that. i'm checking out an eager loading plugin gist now, it makes sense
mbj has quit [Ping timeout: 248 seconds]
mbj has joined #datamapper
kandie has joined #datamapper
<kandie> hi guys, using the dm-mysql adapter, is it possible to specify an encrypted password in DataMapper#setup ? (the result of mysql's PASSWORD(), something like '*ASDFASDF' )
<mbj> kandie: Id client and server know only the encrypted password they cannot do challenge response authentication anymore.
<mbj> kandie: So most likely storing only the encrypted pw on client and server would not make any sense.
<kandie> mbj: thanks for the info, is there any way to keep from writing passwords in plain text in config files then (without resorting to $env variables or such)?
campezzi has quit [Quit: campezzi]
<namelessjon> kandie: If your app can use it to login, anyone who steals it can, anyway.
campezzi has joined #datamapper
Ortuna has joined #datamapper
<campezzi> alright, eager loading worked as per this gist: https://gist.github.com/tillsc/3162356 - I had to create a join model on my many-to-many though instead of using :through => Resource. not a problem :)
mbj_ has joined #datamapper
mbj has quit [Ping timeout: 276 seconds]
Ortuna has quit [Quit: Computer has gone to sleep.]
kandie_ has joined #datamapper
kandie has quit [Ping timeout: 264 seconds]
campezzi has quit [Quit: campezzi]
mbj_ has quit [Ping timeout: 260 seconds]
knowtheory has quit [Ping timeout: 276 seconds]
mbj has joined #datamapper
kandie_ has quit [Ping timeout: 256 seconds]
snusnu has joined #datamapper
snusnu1 has joined #datamapper
snusnu1 has quit [Client Quit]
snusnu has quit [Ping timeout: 252 seconds]
snusnu has joined #datamapper
zombor has joined #datamapper
Voker57 has quit [Ping timeout: 256 seconds]
mbj has quit [Ping timeout: 276 seconds]
mbj has joined #datamapper
rsim has quit [Quit: Leaving.]
zombor has quit [Remote host closed the connection]
rsim has joined #datamapper
rsim has quit [Ping timeout: 240 seconds]
rsim has joined #datamapper
zombor has joined #datamapper
zombor has quit [Remote host closed the connection]
knowtheory has joined #datamapper
zombor has joined #datamapper
zombor has quit [Remote host closed the connection]
mbj has quit [Read error: Connection reset by peer]
mbj has joined #datamapper
mbj has quit [Read error: Connection reset by peer]
mbj has joined #datamapper
mbj has quit [Read error: Connection reset by peer]
mbj has joined #datamapper
mbj has quit [Read error: Connection reset by peer]
mbj has joined #datamapper
mbj has quit [Read error: Connection reset by peer]
mbj has joined #datamapper
mbj has quit [Read error: Connection reset by peer]
mbj has joined #datamapper
mbj has quit [Read error: Connection reset by peer]
mbj has joined #datamapper
mbj has quit [Read error: Connection reset by peer]
mbj has joined #datamapper
zekefast has joined #datamapper
Ortuna has joined #datamapper
<dkubb> !memo campezzi another eager loader that should work well is: https://gist.github.com/dkubb/3100034
<Cinchy> dkubb: Memo recorded for campezzi.
<Cinchy> [gist] Eager Loading DataMapper Associations (at gist.github.com, dkubb on 2013-04-14 23:42)
knowtheory has quit [Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/]
knowtheory has joined #datamapper
rsim has quit [Quit: Leaving.]
dbussink has quit [Ping timeout: 246 seconds]
dbussink has joined #datamapper
Gibheer_ has joined #datamapper
rtyler_ has joined #datamapper
postmodern has joined #datamapper
Gibheer has quit [Read error: Connection reset by peer]
DireFog has quit [*.net *.split]
kalleth has quit [*.net *.split]
Cinchy has quit [*.net *.split]
rtyler has quit [Write error: Broken pipe]
DireFog has joined #datamapper
Cinchy has joined #datamapper
kalleth has joined #datamapper
rsim has joined #datamapper
rtyler has joined #datamapper
rtyler has quit [Changing host]
rtyler has joined #datamapper
rtyler_ has quit [Ping timeout: 269 seconds]
viranch has quit [Ping timeout: 243 seconds]
viranch has joined #datamapper
rsim has quit [Ping timeout: 240 seconds]
mkf has quit [Ping timeout: 240 seconds]
mkf has joined #datamapper
solnic_ has joined #datamapper
solnic has quit [*.net *.split]
ChanServ has quit [*.net *.split]
ChanServ has joined #datamapper
ChanServ has joined #datamapper
rsim has joined #datamapper
rsim has quit [Ping timeout: 240 seconds]
mbj has quit [Remote host closed the connection]
mbj has joined #datamapper
indrek_ has quit [Quit: ZNC - http://znc.sourceforge.net]
mbj has quit [Ping timeout: 276 seconds]
rsim has joined #datamapper
rsim has quit [Ping timeout: 240 seconds]
indrek has joined #datamapper
indrek has quit [Quit: ZNC - http://znc.in]
indrek has joined #datamapper
rafaelfranca has joined #datamapper
talntid2 has joined #datamapper
talntid has quit [Ping timeout: 256 seconds]
mbj has joined #datamapper
solnic_ has quit [Quit: Leaving...]
mbj has quit [Read error: Operation timed out]
rsim has joined #datamapper
rsim has quit [Ping timeout: 240 seconds]
ckrailo has joined #datamapper