00:24
v0n has joined #datamapper
02:01
_whitelogger has joined #datamapper
02:04
_whitelogger has joined #datamapper
02:27
zombor has joined #datamapper
02:49
kurko_ has quit [Quit: Computer has gone to sleep.]
03:32
zombor has quit [Remote host closed the connection]
03:46
postmodern has quit [Quit: Leaving]
03:58
postmodern has joined #datamapper
04:04
postmodern has quit [Remote host closed the connection]
04:07
tchebb has joined #datamapper
04:14
postmodern has joined #datamapper
04:15
jhn has joined #datamapper
04:36
jhn has quit [Ping timeout: 276 seconds]
05:02
v0n has quit [Ping timeout: 256 seconds]
06:19
facerip has quit [Ping timeout: 240 seconds]
06:20
facerip has joined #datamapper
06:37
knowtheory has quit [Ping timeout: 264 seconds]
06:59
knowtheory has joined #datamapper
07:38
knowtheory has quit [Ping timeout: 260 seconds]
08:02
mikecmpbll has joined #datamapper
08:12
Guest53203 has quit [*.net *.split]
08:12
irclogger_com has quit [*.net *.split]
08:12
Guest53203 has joined #datamapper
08:12
irclogger_com has joined #datamapper
08:30
mkf has quit [Ping timeout: 246 seconds]
08:31
mkf has joined #datamapper
09:45
dawkirst has quit [Remote host closed the connection]
10:11
mikecmpbll has joined #datamapper
10:26
knowtheory has joined #datamapper
10:34
zombor has joined #datamapper
10:34
zombor has joined #datamapper
10:39
rolfb has joined #datamapper
10:40
knowtheory has joined #datamapper
10:45
Guest53204 has joined #datamapper
10:46
Guest53203 has quit [Ping timeout: 264 seconds]
10:50
postmodern has quit [Quit: Leaving]
10:51
zombor has quit [Remote host closed the connection]
10:56
mikecmpbll has quit [Ping timeout: 264 seconds]
10:58
mikecmpbll has joined #datamapper
11:00
knowtheo1y has joined #datamapper
11:02
knowtheory has quit [Ping timeout: 252 seconds]
13:18
knowtheory has joined #datamapper
13:19
zombor has joined #datamapper
13:21
knowtheo1y has quit [Ping timeout: 264 seconds]
13:43
v0n has joined #datamapper
14:09
v0n has quit [Ping timeout: 248 seconds]
14:13
mbj has joined #datamapper
14:14
kurko_ has joined #datamapper
14:25
v0n has joined #datamapper
14:36
knowtheory has quit [Quit: Computer has gone to sleep]
14:55
mikecmpbll has joined #datamapper
15:07
knowtheory has joined #datamapper
15:23
danimoth2 has joined #datamapper
15:24
<
danimoth2 >
hello everyone. newbie here. is there a way for datamapper to find out all the tables in a database
15:31
danimoth2 has quit [Quit: Page closed]
15:38
knowtheory has quit [Ping timeout: 246 seconds]
15:39
knowtheory has joined #datamapper
15:44
knowtheory has quit [Ping timeout: 264 seconds]
15:53
knowtheory has joined #datamapper
15:59
knowtheory has quit [Quit: Computer has gone to sleep]
16:14
knowtheory has joined #datamapper
16:27
mbj has quit [Ping timeout: 248 seconds]
17:19
mbj has joined #datamapper
17:25
mouse-_ has quit [Ping timeout: 248 seconds]
17:26
mouse-_ has joined #datamapper
17:29
<
onewheelskyward >
You can run ad hoc queries, so yes.
17:30
<
onewheelskyward >
e.g. repository(:default).adapter.select("show tables")
17:30
<
onewheelskyward >
I've never tried it, but in theory it could work.
17:35
mbj has quit [Read error: Connection reset by peer]
17:39
mbj has joined #datamapper
17:49
mbj has quit [Read error: Connection reset by peer]
17:52
mbj has joined #datamapper
18:42
postmodern has joined #datamapper
19:02
brianpWins has joined #datamapper
19:40
brianpWins has quit [Quit: brianpWins]
19:41
C0deMaver1ck is now known as ace
19:42
brianpWins has joined #datamapper
19:42
ace is now known as C0deMaver1ck
20:07
knowtheo1y has joined #datamapper
20:08
knowtheo2y has joined #datamapper
20:08
knowtheo1y has quit [Read error: Connection reset by peer]
20:10
knowtheory has quit [Ping timeout: 248 seconds]
20:11
knowtheory has joined #datamapper
20:14
<
Eiam >
I have some code that calls first_or_create and somehow I end up with two copies
20:14
knowtheo2y has quit [Ping timeout: 245 seconds]
20:14
<
Eiam >
only a single line of code calls first_or_create, and its based off the ID
20:14
<
Eiam >
I'm staring at my DB right now and I see two entries with the same id
20:16
<
Eiam >
myItem = Module::ModelInstance.attribute.first_or_create(:attr => 1235)
20:18
<
Eiam >
then, Module::Model.all(:attr=>1235).count == 2!
20:34
zombor has quit [Remote host closed the connection]
20:51
mbj has quit [Ping timeout: 256 seconds]
20:51
v0n has quit [Ping timeout: 248 seconds]
20:58
mbj has joined #datamapper
22:29
knowtheory has quit [Read error: Connection reset by peer]
22:30
knowtheo1y has joined #datamapper
23:25
mbj has quit [Read error: Connection reset by peer]
23:46
zombor has joined #datamapper
23:47
knowtheo1y has quit [Quit: Computer has gone to sleep]
23:59
<
rtyler >
with DM1 is it possible to turn off raising exceptions if the table for a relationship doesn't yet exist