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
brianpWins has quit [Quit: brianpWins]
jhn has joined #datamapper
ckrailo has quit [Quit: Computer has gone to sleep.]
<postmodern> !memo mbj can mutant run against normal test-unit suites? I have a test/unit / test/integration project I want to run through mutant
<Cinchy> postmodern: Memo recorded for mbj.
Sylvain2 has quit [Quit: Leaving.]
lnormous has quit [Ping timeout: 256 seconds]
jeremyevans has joined #datamapper
zombor_ is now known as zombor
jhn has quit [Ping timeout: 256 seconds]
lnormous has joined #datamapper
Sylvain1 has joined #datamapper
zombor has quit [Remote host closed the connection]
snusnu has joined #datamapper
grandy has quit [Ping timeout: 240 seconds]
v0n has joined #datamapper
snusnu has quit [Quit: Leaving.]
zombor has joined #datamapper
zombor has quit [Remote host closed the connection]
dkubb has joined #datamapper
<dkubb> !memo mbj just wanted to get your input on https://github.com/mbj/mutant/pull/70#issuecomment-21361562 .. I may just send a PR for your consideration
<Cinchy> dkubb: Memo recorded for mbj.
kenphused has quit [Remote host closed the connection]
bobocopy has joined #datamapper
bobocopy has quit [Quit: Leaving.]
zombor has joined #datamapper
zombor has quit [Ping timeout: 248 seconds]
kenphused has joined #datamapper
kenphused has quit [Remote host closed the connection]
_whitelogger has joined #datamapper
v0n has quit [Ping timeout: 264 seconds]
<dkubb> !memo mbj I wonder, as a quick test do you think mutant would work with the parallel gem? It provides a Parallel.each method that we could use to run stuff in parallel when each element is independent
<Cinchy> dkubb: Memo recorded for mbj.
bobocopy has joined #datamapper
zombor has joined #datamapper
zombor has quit [Read error: Connection reset by peer]
zombor has joined #datamapper
zombor has joined #datamapper
zombor has quit [Changing host]
mbj 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> .
<Cinchy> mbj: [6h 16m 1s ago] <postmodern> can mutant run against normal test-unit suites? I have a test/unit / test/integration project I want to run through mutant
<Cinchy> mbj: [4h 7m 55s ago] <dkubb> just wanted to get your input on https://github.com/mbj/mutant/pull/70#issuecomment-21361562 .. I may just send a PR for your consideration
<Cinchy> mbj: [1h 41m 31s ago] <dkubb> I wonder, as a quick test do you think mutant would work with the parallel gem? It provides a Parallel.each method that we could use to run stuff in parallel when each element is independent
<mbj> postmodern: Mutant does not have a test/unit runner currently
<mbj> postmodern: Happy to see your contribution :D
<mbj> !memo dkubb, I'll look into it.
<Cinchy> mbj: Memo recorded for dkubb,.
mbj has quit [Read error: Connection reset by peer]
northrup has joined #datamapper
mbj has joined #datamapper
mbj has quit [Read error: Connection reset by peer]
mbj has joined #datamapper
<postmodern> mbj, maybe if it keeps coming up
<postmodern> mbj, project in question was https://github.com/sstephenson/hector
mbj has quit [Read error: Connection reset by peer]
mbj has joined #datamapper
mikecmpbll has joined #datamapper
rafaelfranca has quit [Remote host closed the connection]
dkubb has quit [Quit: Linkinus - http://linkinus.com]
rsim has joined #datamapper
solnic has joined #datamapper
<mbj> !memo dkubb Thx for that PRs! Merged all.
<Cinchy> mbj: Memo recorded for dkubb.
solnic_ has joined #datamapper
solnic has quit [Read error: Connection reset by peer]
solnic has joined #datamapper
knowtheory has joined #datamapper
bobocopy has quit [Quit: Leaving.]
solnic_ has quit [Quit: Linkinus - http://linkinus.com]
mbj has quit [Quit: leaving]
solnic has quit []
solnic has joined #datamapper
snusnu has joined #datamapper
rsim has quit [Quit: Leaving.]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mikecmpbll has joined #datamapper
mbj has joined #datamapper
rsim has joined #datamapper
DireFog has quit [Quit: OMG pwnies!]
DireFog has joined #datamapper
postmodern has quit [Quit: Leaving]
zombor has joined #datamapper
mbj has quit [Ping timeout: 264 seconds]
zombor has quit [Remote host closed the connection]
_whitelogger has joined #datamapper
shingara has joined #datamapper
DireFog has joined #datamapper
solnic has quit [Quit: Leaving...]
mbj has joined #datamapper
solnic has joined #datamapper
solnic_ has joined #datamapper
solnic has quit [Read error: Connection reset by peer]
solnic has joined #datamapper
solnic_ has quit [Read error: Connection reset by peer]
snusnu has quit [Quit: Leaving.]
zombor has joined #datamapper
rafaelfranca has joined #datamapper
solnic has quit [Read error: Connection reset by peer]
zombor has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
snusnu has joined #datamapper
<kapowaz> if I have both a has n, :foo and a belongs_to :bar relationship on a couple of models, but I want to name the property of the child model (e.g. belongs_to :foo, :model => 'MySomething') how can I prevent the has n, :foo relationship also creating another child key ?
solnic has joined #datamapper
<kapowaz> if I name the relationship then it will create two child keys
<kapowaz> foreign_model_name_id and whatever_i_say_it_belongs_to_id
<kapowaz> solnic: you might know, so I will repeat the bit I missed
<kapowaz> *you missed
<kapowaz> <kapowaz> if I have both a has n, :foo and a belongs_to :bar relationship on a couple of models, but I want to name the property of the child model (e.g. belongs_to :foo, :model => 'MySomething') how can I prevent the has n, :foo relationship also creating another child key ?
<kapowaz> I can avoid this by not having a has n relationship on the parent model, but I'd like to be able to do ParentModel.foos and get all the children that way
solnic has quit [Quit: Leaving...]
rafaelfranca has quit [Remote host closed the connection]
kleech has joined #datamapper
solnic has joined #datamapper
rafaelfranca has joined #datamapper
zombor has joined #datamapper
zombor has joined #datamapper
v0n has joined #datamapper
kleech has quit [Remote host closed the connection]
<_br_> In datamapper if I have a field e.g. category where I want to search for term1 or term2 or. (logical OR in the WHERE field). etc. is there another way to define it inline instead of this? Item.all( :category => term1 ) | Item.all( :category => term2 ) ... ; e.g. Item.all( :category => [ term1, term2, .. ] ) ?
v0n has quit [Ping timeout: 260 seconds]
dkubb has joined #datamapper
<dkubb> memos
<Cinchy> dkubb: [5h 45m 14s ago] <mbj> Thx for that PRs! Merged all.
<dkubb> mbj: you're welcome. I'll try to do a little bit on mutant every week
<dkubb> mbj: my first pass will probably be the simplest possible mutations like emit_nil, etc, and then I'll start adding better ones
bobocopy has joined #datamapper
<mbj> dkubb: I'm happy not to be alone with mutant!
v0n has joined #datamapper
mikecmpbll has joined #datamapper
northrup has quit [Ping timeout: 246 seconds]
solnic has quit [Ping timeout: 276 seconds]
ckrailo has joined #datamapper
mbj has quit [Ping timeout: 264 seconds]
<_br_> Is it possible to only select Parents if their child contains a field with a specific field value? Parent.all( :children.field => "string" ) doesn't work?
mbj has joined #datamapper
bobocopy has quit [Quit: Leaving.]
bobocopy has joined #datamapper
<dkubb> _br_: You can do: Parent.all(:children => { :field => 'string' })
<dkubb> or even Children.all(:field => 'string').parents
<_br_> dkubb: ah cool, thanks I'll try that
<dkubb> either one works, just from different directions.. choose whichever one fits your brain best
<_br_> love it :)
Sylvain1 has quit [Quit: Leaving.]
northrup has joined #datamapper
Sylvain1 has joined #datamapper
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
rafaelfranca has quit [Remote host closed the connection]
northrup has quit [Ping timeout: 264 seconds]
northrup has joined #datamapper
dkubb|away has joined #datamapper
dkubb has quit [Read error: Connection reset by peer]
rafaelfranca has joined #datamapper
_br_ has left #datamapper [#datamapper]
_br_ has joined #datamapper
dkubb|away has quit [Client Quit]
<_br_> Parent.all( :children => { :field => "blah" } ) works. But is it possible to do Parent.all( :children => { :field => "blah", :order => :field_num } ) ?
northrup has quit [Quit: northrup]
northrup has joined #datamapper
myobie has joined #datamapper
northrup has quit [Quit: northrup]
mbj has quit [Ping timeout: 246 seconds]
northrup has joined #datamapper
solnic has joined #datamapper
dkubb has joined #datamapper
myobie has quit [Quit: myobie]
solnic has quit [Quit: Linkinus - http://linkinus.com]
myobie has joined #datamapper
northrup has quit [Ping timeout: 258 seconds]
solnic has joined #datamapper
mbj has joined #datamapper
lnormous has joined #datamapper
C0deMaver1ck has quit [Remote host closed the connection]
C0deMaver1ck has joined #datamapper
C0deMaver1ck is now known as Guest34786
mbj has quit [Read error: Connection reset by peer]
Guest34786 has joined #datamapper
Guest34786 has quit [Changing host]
Guest34786 is now known as C0deMaver1ck
mbj has joined #datamapper
northrup has joined #datamapper
solnic has quit [Quit: Leaving...]
northrup has quit [Ping timeout: 248 seconds]
brianpWins has joined #datamapper
northrup has joined #datamapper
northrup has quit [Client Quit]
solnic has joined #datamapper
bobocopy has quit [Quit: Leaving.]
bobocopy has joined #datamapper
myobie has quit [Quit: myobie]
bobocopy1 has joined #datamapper
bobocopy has quit [Ping timeout: 245 seconds]
myobie has joined #datamapper
bobocopy1 has quit [Read error: Operation timed out]
bobocopy has joined #datamapper
solnic has quit [Quit: Leaving...]
solnic has joined #datamapper
rsim has quit [Quit: Leaving.]
zombor has quit [Remote host closed the connection]
_br_ has quit [Read error: Operation timed out]
_br_ has joined #datamapper
_br_ has quit [Quit: Bye, thanks for all the fish.]
rsim has joined #datamapper
lnormous has quit [Ping timeout: 264 seconds]
snusnu has quit [Quit: Leaving.]
rsim has quit [Ping timeout: 240 seconds]
snusnu has joined #datamapper
_br__ has joined #datamapper
rsim has joined #datamapper
kalleth has quit [Quit: No Ping reply in 180 seconds.]
kalleth has joined #datamapper
kalleth has quit [Client Quit]
kalleth has joined #datamapper
v0n has quit [Ping timeout: 256 seconds]
bobocopy has quit [Ping timeout: 248 seconds]
rafaelfranca has quit [Remote host closed the connection]
myobie has quit [Quit: myobie]
postmodern has joined #datamapper
zombor has joined #datamapper
zombor has quit [Changing host]
zombor has joined #datamapper
_br__ has quit [Quit: leaving]
mbj has quit [Quit: leaving]
rsim has quit [Quit: Leaving.]
brianpWins has quit [Quit: brianpWins]
solnic has quit [Quit: Leaving...]
rsim has joined #datamapper
rsim has quit [Ping timeout: 240 seconds]
zombor has quit [Remote host closed the connection]