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
mbj has quit [Ping timeout: 264 seconds]
brianpWins has quit [Quit: brianpWins]
Sylvain3 has quit [Quit: Leaving.]
zombor has joined #datamapper
brianpWins has joined #datamapper
akasper has quit [Quit: Leaving.]
zombor has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
brianpWins has joined #datamapper
akasper has joined #datamapper
akasper has quit [Ping timeout: 256 seconds]
akasper has joined #datamapper
akasper has quit [Ping timeout: 245 seconds]
akasper has joined #datamapper
brianpWins has quit [Ping timeout: 256 seconds]
akasper has quit [Ping timeout: 256 seconds]
postmodern has quit [Quit: Leaving]
brianpWins has joined #datamapper
rsim has joined #datamapper
snusnu has quit [Quit: Leaving.]
rsim has quit [Ping timeout: 240 seconds]
brianpWins has quit [Quit: brianpWins]
brianpWins has joined #datamapper
brianpWins has quit [Client Quit]
rsim has joined #datamapper
mbj has joined #datamapper
mbj has quit [Client Quit]
mikecmpbll has joined #datamapper
onewheelskyward has quit [Ping timeout: 260 seconds]
onewheelskyward has joined #datamapper
postmodern has joined #datamapper
postmodern has quit [Quit: Leaving]
postmodern has joined #datamapper
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
postmodern has quit [Quit: Leaving]
snusnu has joined #datamapper
snusnu has quit [Quit: Leaving.]
knowtheory has quit [Ping timeout: 264 seconds]
zombor has joined #datamapper
snusnu has joined #datamapper
mikecmpbll has joined #datamapper
akemrir has joined #datamapper
<akemrir> hello, is there an option to create relation many to many with additional column in relation?
<akemrir> for example resource will have one owner and few viewers but over one table
mouse-_ has quit [Ping timeout: 260 seconds]
viranch_ has joined #datamapper
viranch has quit [Ping timeout: 260 seconds]
mouse-_ has joined #datamapper
akasper has joined #datamapper
<namelessjon> Assuming the owner and viewers come from a table of Users, you end up with something like:
<namelessjon> Thing.belongs_to, :owner, User. Thing.has n, :viewers, User, :through => Resource. User.has n, :owned_things, Thing. User.has n :viewables, User, :through => Resource
<namelessjon> er, User.has n :viewables, Thing, :through => Resource
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mikecmpbll has joined #datamapper
<akemrir> hmm
<akemrir> yes Owner and Viewer are from same table
<akemrir> namelessjon: do I need joining model? Resource will handle additional table?
<akemrir> I see it almost work.
<akemrir> owner_id is not filling, hmm
<akemrir> thanks for help, I must go now.
akemrir has quit [Quit: WeeChat 0.4.1]
brianpWins has joined #datamapper
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
Eiam has joined #datamapper
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mbj has joined #datamapper
cschneid has joined #datamapper
snusnu has quit [Quit: Leaving.]
snusnu has joined #datamapper
Sylvain1 has joined #datamapper
Sylvain3 has joined #datamapper
mbj has quit [Ping timeout: 248 seconds]
Sylvain1 has quit [Ping timeout: 260 seconds]
g0bl1n has joined #datamapper
knowtheory has joined #datamapper
rsim has quit [Quit: Leaving.]
rsim has joined #datamapper
rsim has quit [Ping timeout: 240 seconds]
rsim has joined #datamapper
postmodern has joined #datamapper
rsim has quit [Quit: Leaving.]
g0bl1n has quit [Read error: Operation timed out]
rsim has joined #datamapper
rsim has quit [Ping timeout: 240 seconds]
akasper has quit [Quit: Leaving.]
zombor has quit [Remote host closed the connection]
rsim has joined #datamapper
rsim has quit [Ping timeout: 240 seconds]