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 joined #datamapper
v0n has quit [Read error: Operation timed out]
cored has quit [Ping timeout: 264 seconds]
mikepence has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
v0n has joined #datamapper
brianpWins has joined #datamapper
ckrailo has quit [Quit: Computer has gone to sleep.]
ckrailo has joined #datamapper
v0n has quit [Ping timeout: 246 seconds]
ckrailo has quit [Ping timeout: 259 seconds]
zombor has joined #datamapper
zombor has joined #datamapper
zombor has quit [Remote host closed the connection]
bobocopy has joined #datamapper
bobocopy has quit [Client Quit]
mbj has joined #datamapper
mbj has quit [Ping timeout: 246 seconds]
dkubb has joined #datamapper
splattael has joined #datamapper
mbj has joined #datamapper
solnic has joined #datamapper
nekkoru has joined #datamapper
<nekkoru> Good morning
<nekkoru> Anyone here?
<mbj> nekkoru: jo, ask your question :D
<nekkoru> Awesomely, I thought IRC was my best bet :)
<nekkoru> I'm writing a simple sinatra app for a nightclub to help manage its sales and orders
<nekkoru> I've got four fine Datamapper models that I'm not quite sure how to link together, and the documentation is too confusing for me to decypher in this heat (well over 30 degrees today)
<mbj> nekkoru: So you have an associations/relationship question?
<nekkoru> Yeah
<nekkoru> I'm looking for someone patient enough to explain something for me in full five-year-old mode
<mbj> nekkoru: I dont really have the time.
<mbj> nekkoru: There are many association related questions on Stackoverflow, with code examples.
<mbj> this should help you?
<nekkoru> Yeah, I'm digging there right now
<nekkoru> So far no luck
<mbj> nekkoru: Can you summarize your problem in a gist?
<mbj> I'll take a look, but I dont have the time for ping-pong, sory.
<nekkoru> Sure
<mbj> nekkoru: Just busy :D
<nekkoru> Basically, I have two big models and two smaller ones, each of which belongs to both of the big ones. Is there a method I can use to create a new small record that will automatically get assigned to proper records in the big models?
<nekkoru> As in, instead of using BigModel1(1).SmallModel.new?
<mbj> nekkoru: given:
<mbj> models A, B
<nekkoru> Because if I'm not mistaken, this would create duplicates?
<mbj> A.has_n B
<mbj> B.belongs_to A
<mbj> you can do B.new(:a => an_instance_of_a, :other_attrribute => :other_value)
<nekkoru> So if B belongs to both A and C, I can do B.new(:a => instance_of_a, :c => instance_of_c)?
<mbj> nekkoru: jo
<nekkoru> Thank you so much :)
<mbj> nekkoru: np
nekkoru has quit [Quit: leaving]
postmodern has quit [Quit: Leaving]
solnic has quit [Read error: Connection reset by peer]
solnic has joined #datamapper
zombor has joined #datamapper
zombor has joined #datamapper
v0n has joined #datamapper
cored has joined #datamapper
bobocopy has joined #datamapper
splattael has quit [Quit: Leaving.]
ckrailo has joined #datamapper
ngw has joined #datamapper
ngw has quit [Quit: Bye!]
brianpWins has quit [Quit: brianpWins]
slainer68 has joined #datamapper
rsim has joined #datamapper
rsim has quit [Ping timeout: 240 seconds]
slainer68 has quit [Remote host closed the connection]
rsim has joined #datamapper
brianpWins has joined #datamapper
v0n has quit [Read error: Operation timed out]
v0n has joined #datamapper
dkubb has quit [Quit: Linkinus - http://linkinus.com]
rsim has quit [Quit: Leaving.]
diego has joined #datamapper
diego is now known as Guest48664
Guest48664 is now known as anero
v0n has quit [Read error: Operation timed out]
v0n has joined #datamapper
brianpWins has quit [Quit: brianpWins]
rsim has joined #datamapper
careo has joined #datamapper
rsim has quit [Ping timeout: 240 seconds]
namelessjon_ is now known as namelessjon
namelessjon has quit [Changing host]
namelessjon has joined #datamapper
careo has quit [Quit: careo]
postmodern has joined #datamapper
brianpWins has joined #datamapper
rsim has joined #datamapper
anero has quit [Remote host closed the connection]
v0n has quit [Ping timeout: 264 seconds]
rdFLeece has joined #datamapper
solnic has quit [Quit: Leaving...]
rsim has quit [Quit: Leaving.]
<mbj> !memo dkubb mutant-0.3.beta1 is on github
<Cinchy> mbj: Memo recorded for dkubb.
<mbj> !memo dkubb s/github/rubygem/
<Cinchy> mbj: Memo recorded for dkubb.
slainer68 has joined #datamapper
rsim has joined #datamapper
zombor has quit [Remote host closed the connection]
rsim has quit [Ping timeout: 240 seconds]
rdFLeece has quit [Ping timeout: 248 seconds]
mbj has quit [Ping timeout: 268 seconds]
zombor has joined #datamapper
brianpWins has quit [Quit: brianpWins]
rsim has joined #datamapper
rsim has quit [Ping timeout: 240 seconds]
slainer68 has quit [Remote host closed the connection]
mbj has joined #datamapper
cored has quit [Ping timeout: 248 seconds]
cored has joined #datamapper
cored has joined #datamapper
zombor has quit [Remote host closed the connection]
rsim has joined #datamapper
rsim has quit [Ping timeout: 240 seconds]