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
slainer68 has quit [Ping timeout: 252 seconds]
zombor has quit [Remote host closed the connection]
bobocopy has joined #datamapper
brianpWins has quit [Quit: brianpWins]
v0n has joined #datamapper
hryk has quit [Quit: hryk]
cored_ has quit [Ping timeout: 240 seconds]
cored has quit [Ping timeout: 256 seconds]
hryk has joined #datamapper
dkubb has joined #datamapper
brianpWins has joined #datamapper
zombor_ has joined #datamapper
zombor_ has quit [Ping timeout: 252 seconds]
hryk has quit [Quit: hryk]
hryk has joined #datamapper
hryk has quit [Quit: hryk]
ckrailo has quit [Quit: Computer has gone to sleep.]
Ortuna has quit [Quit: Computer has gone to sleep.]
campezzi has quit [Ping timeout: 240 seconds]
campezzi has joined #datamapper
hryk has joined #datamapper
campezzi has quit [Ping timeout: 260 seconds]
campezzi has joined #datamapper
campezzi has quit [Ping timeout: 246 seconds]
hryk has quit [Quit: hryk]
campezzi has joined #datamapper
hryk has joined #datamapper
slainer68 has joined #datamapper
hryk has quit [Client Quit]
slainer68 has quit [Ping timeout: 246 seconds]
brianpWins has joined #datamapper
hryk has joined #datamapper
hryk has quit [Quit: hryk]
solnic has joined #datamapper
brainopia has joined #datamapper
solnic has quit [Read error: Connection reset by peer]
ckrailo has joined #datamapper
careo has left #datamapper [#datamapper]
jlee- has joined #datamapper
jlee- has left #datamapper [#datamapper]
solnic has joined #datamapper
postmodern has quit [Ping timeout: 256 seconds]
slainer68 has joined #datamapper
brainopia has quit [Quit: brainopia]
splattael has joined #datamapper
slainer68 has quit [Remote host closed the connection]
talntid2 has joined #datamapper
talntid has quit [Ping timeout: 246 seconds]
ckrailo has quit [Quit: Computer has gone to sleep.]
slainer68 has joined #datamapper
slainer6_ has joined #datamapper
slainer6_ is now known as slainer68_
slainer68 has quit [Ping timeout: 248 seconds]
mikecmpbll has joined #datamapper
snusnu has joined #datamapper
dbussink has quit [Read error: Connection reset by peer]
snusnu has quit [Quit: Leaving.]
<kapowaz>
how would one go about declaring a one-to-many relationship where you wanted to use a different name to refer to the children than the child model's name?
<kapowaz>
i.e. has n, :members when the child class is called User ?
snusnu has joined #datamapper
<kapowaz>
right, so it's just :model => Foo
<kapowaz>
I'm sure I tried that and it didn't work. No matter :)
<solnic>
kapowaz: :model_name
rsim has quit [Quit: Leaving.]
<snusnu>
kapowaz, solnic: there's no model_name iirc, it's simply: has n, :permissions, 'Your::App::Permission'
<solnic>
snusnu: iirc both work
<snusnu>
kapowaz: it also accepts a constant (if that's already been declared at this point obviously)
<snusnu>
solnic: ok, then i just don't remember it
dbussink has joined #datamapper
zombor has joined #datamapper
zombor has quit [Remote host closed the connection]