Mar 10 00:04
Mar 10 00:14
benschwarz joined #datamapper
Mar 10 00:22
path[l] joined #datamapper
Mar 10 00:27
pietia joined #datamapper
Mar 10 00:36
RichGuk joined #datamapper
Mar 10 00:42
mkristian joined #datamapper
sickill joined #datamapper
Mar 10 00:49
mkristian1 joined #datamapper
mkristian1 left #datamapper
Mar 10 01:03
irjudson joined #datamapper
Mar 10 01:11
irjudson joined #datamapper
irjudson joined #datamapper
mkristian joined #datamapper
Mar 10 01:16
irjudson joined #datamapper
RichGuk joined #datamapper
Mar 10 01:23
mkristian left #datamapper
Mar 10 01:42
Fullmoon joined #datamapper
splattael joined #datamapper
Mar 10 01:54
RichGuk joined #datamapper
Mar 10 02:09
botanicus joined #datamapper
slaskis joined #datamapper
is there a blob type in datamapper?
should i use Object for anything binary?
Mar 10 02:39
benschwarz joined #datamapper
Mar 10 02:51
ashley_moran joined #datamapper
Mar 10 02:56
what i want to store is a png
slaskis, what's a png in ruby?
Tass`: hah, since you ask i'm assuming a string? :P
slaskis, so store it as a Text
cool, didn't know that. i just remember using blob types in mysql when i was still writing php :P
slaskis, well, probably there is Blob, but I'd use Text.
slaskis, and are you sure a MongoMapper wouldn't do better? ;-)
Mar 10 03:02
Tass`, a MongoMapper? I was going to use s3 first for storage, but since it's so little i was hoping to avoid setting that stuff up and store it in the db instead
Mongo db is a type of non-relational store
Mar 10 03:09
ludicco joined #datamapper
yeah, nosql would fit much better
Mar 10 03:15
snusnu1, *ping* about git pull :-)
it doesn't want to save the image...and i'm not sure if it's the terminal or if it's actually an error in the query but the update looks like this: ~ (0.002447) UPDATE "logos" SET "image" = '?PNG
jeremyevans joined #datamapper
slaskis, just get it and check the size of the image... :-)
Mar 10 03:23
hmm, checking the db with Base shows that it's there, but Logo.get() does not return anything...
slaskis, .get.size - might be a bit too much
anyway, got me a script to reproduce?
Tass`: sure, just a minute
Mar 10 03:33
the puts shows a realistic size, while the second one shows 4 as size
postmodern joined #datamapper
slaskis, lemme install some gems... (killed my OS last week)
hassox joined #datamapper
i'm running dm 0.10.2 btw
Mar 10 03:45
slaskis, installed git version via rip ,-)
Tass`: cool, i tried rip a while ago but it was very unstable on my machine, is it better than rubygems?
slaskis, it's just different. rip is for git repos
gotta go eating... no idea :-/
Mar 10 03:50
too bad, thanks for checking though
Mar 10 03:59
Tass`: if you're interested still, base64 encoding/decoding it got it working
g0bl1n joined #datamapper
hi, can someone using do_postgres 0.10.1 on OSX please tell me if it runs fine ?
I keep have this problem: dyld: lazy symbol binding failed: Symbol not found: _PQsetdbLogin
the gem installs fine, but when using it to connect do a postgres server (local or remote) it crashes
Mar 10 04:05
datamapper 0.10.2 and do_postgres 0.10.1
g0bl1n: I'm pretty sure dbussink develops on a mac.
g0bl1n: i used postgres the other week with datamapper without any problems
namelessjon: ty, I have it working on all my linux boxes, but not on my mac... It complies fine, no problem, but when using it, crashes on login
namelessjon: I am using it agains EnterpriseDB postgres package. Can that be it ?
g0bl1n: i used postgres 8.4.2 compiled from source using homebrew on osx 10.6.2 if that helps...
namelessjon: going for that right now ;) ty
Mar 10 04:10
g0bl1n: It _could_ be, yeah. I'm only guessing, I've never used a mac
namelessjon: macs are nice for desktop, but for development my opinion is: debian + gnome rocks !
namelessjon: just a guess, did you go to arch after gentoo ? It seems to be a behavior pattern :)
Mar 10 04:15
g0bl1n: Nah, after flipping between ubuntu and fedora a few times.
been flipping too but always comes home (debian)
Mar 10 04:23
irjudson joined #datamapper
botanicu_ joined #datamapper
irjudson1 joined #datamapper
Mar 10 04:44
irjudson joined #datamapper
Mar 10 05:03
namelessjon: oh well... homebrew rocks once again. Dumped the EnterpriseDB package, installed postgres via Homebrew and.. works! TY!
Mar 10 05:09
g0bl1n: Glad you got things sorted.
pdelgallego joined #datamapper
Mar 10 05:24
slaskis joined #datamapper
Mar 10 05:50
solnic joined #datamapper
irjudson joined #datamapper
Mar 10 06:03
path[l] joined #datamapper
Mar 10 06:16
greeneggandham joined #datamapper
greeneggandham joined #datamapper
irjudson joined #datamapper
path[l] joined #datamapper
Mar 10 06:23
irjudson joined #datamapper
Mar 10 06:42
adamaig joined #datamapper
Mar 10 06:56
sickill joined #datamapper
snusnu1: Do you have an idea how can I get serializing DM models (ie to_json) to work in Rails3? I see there is "Think about integrating dm-serializer" in dm-rails readme :)
Mar 10 07:13
Mar 10 07:25
Booster joined #datamapper
altrux joined #datamapper
Mar 10 07:43
stepheneb joined #datamapper
Mar 10 07:49
afrench joined #datamapper
afrench joined #datamapper
Mar 10 07:56
pdelgallego joined #datamapper
Mar 10 08:14
solnic joined #datamapper
Mar 10 08:44
Mar 10 08:53
adamaig_ joined #datamapper
botanicus joined #datamapper
Mar 10 09:02
stepheneb joined #datamapper
Mar 10 09:09
namelessjon, soooo may I poke you to push? ;-)
snusnu joined #datamapper
snusnu joined #datamapper
Mar 10 09:25
adamaig joined #datamapper
Mar 10 09:53
botanicus joined #datamapper
Booster joined #datamapper
Mar 10 10:12
path[l] joined #datamapper
path[l] joined #datamapper
Mar 10 10:19
good morning from Salt Lake City (or just outside)
anyone else attending mwrc?
candeller joined #datamapper
Mar 10 10:35
Mar 10 10:41
snusnu: probably nothing, but it's weird that so much of the gemspec changed
dkubb: whitespace jeweler formatting i believe?
dkubb: i was surprised too, but iirc i blamed it on that without further looking
yeah, I probably won't worry about it, just curious why
dkubb: anyway, i need to test it again with 0.9.11 later on today, but last time i checked it worked
Mar 10 10:46
has not had any coffee yet
dm-core-0.9.11 has no more space in my brain :P
snusnu: the whitespace diff is probably due to the rubygems change
me neither and it's already 7pm damnit … (coffee machine broke)
snusnu: you know, whenever you want to push your AS branch into the mainline go for it. we just have to make sure the specs make it in before the next dm-core 0.10.3 release, which won't be for a few weeks yet
dkubb: ok good to know, and actually i wanted to work on it for quite some time already … i got overwhelmed with lots of work issues lately tho
dkubb: thing's cooled down a bit already tho
snusnu: i'd much rather get people running it now, and deal with the problems sooner than to wait until just before the release
snusnu: yeah, believe me I understand. I always have trouble balancing my time
dkubb: yeah that's how it goes … but you're right, better letting people hit bugs now, than closer to the release
Mar 10 10:51
I'll be using datamapper in a project that runs at ~10k concurrent users probably :)
dkubb: i will run all specs later on today and if everything goes right i'll push it to master (or next first?)
kstephens joined #datamapper
d-snp: I've heard of some high volume apps using DM. what's yours going to be?
though I kind of only abuse it for its easy constructor :|
snusnu: master is fine. I usually only push to next when I'm not finished something
dkubb: heh, that was my reasoning for next, it's probably not yet finished .. then again, it should be quite good already, will push to master once specs ran
snusnu: well, DM itself is not yet finished.. but my definition would be that there are things I know aren't done that will affect the users. not having moved over all the specs probably won't affect the users
dkubb: well I can't really go into specifics, since I'm under NDA, but it's for a large organisation that deploys to a popular community site in the netherlands :P
d-snp: no problem, I understand
I heard a few months ago that Nestle made a Facebook app using DM, and it was in the *top 10* most used facebook apps for a while
that's good to know, this project is sort of like a facebook app :)
atm I'm using some kind of ugly dm/activerecord hybrid solution
Mar 10 10:56
getting native extensions installed is sort of a big deal, so I can't really use mysql_do unless I got a good reason
adamaig joined #datamapper
but perhaps when I figure this thing out it'll turn out using datamapper for the whole thing is the best solution and I'll just request mysql_do to be installed
Hey guys. I have an application where we're using 3 different databases, each using their own module, and each specifying their own repository. Is that the best setup for something like this, or are we doing something wrong.?
Mar 10 11:01
sickill joined #datamapper
em-dash joined #datamapper
Mar 10 11:06
qhoxie joined #datamapper
stepheneb joined #datamapper
RichGuk joined #datamapper
Mar 10 11:27
dkubb|away joined #datamapper
stepheneb joined #datamapper
Mar 10 11:41
snusnu joined #datamapper
zodiak joined #datamapper
Mar 10 11:46
pietia joined #datamapper
Mar 10 11:55
datka` joined #datamapper
Mar 10 12:02
path[l] joined #datamapper
Mar 10 12:15
ribrdb joined #datamapper
Mar 10 12:34
benburkert joined #datamapper
badcarl joined #datamapper
datka` joined #datamapper
Mar 10 12:47
Mar 10 13:01
ludicco joined #datamapper
adamaig_ joined #datamapper
Mar 10 13:12
pdelgallego joined #datamapper
Mar 10 13:22
Mar 10 13:28
fpauser1 joined #datamapper
Mar 10 13:33
adamaig joined #datamapper
benschwarz joined #datamapper
Mar 10 13:42
adamaig_ joined #datamapper
benburkert joined #datamapper
Mar 10 13:49
DireFog_ joined #datamapper
Mar 10 13:57
robgleeson joined #datamapper
Mar 10 14:05
stepheneb joined #datamapper
Mar 10 14:15
siplux joined #datamapper
slaskis_ joined #datamapper
siplux joined #datamapper
Mar 10 14:24
datka` joined #datamapper
Mar 10 14:38
benburkert joined #datamapper
Mar 10 15:16
postmodern joined #datamapper
Mar 10 15:40
datka`, sounds halfway good ;-)
Mar 10 15:46
is there a half I'm missing?
datka`, the half I'm missing :D
I think we made a mistake by trying to inherit from a base class that pulled in Resource and set the default rrepository, but now when I try to unravel it, everything is breaking
uh - don't do inheritance unless STI
I've been struggling to find a good testing scenario with DataMapper, Test::Unit, and multiple repositories
badcarl joined #datamapper
ok, better than sweatshop?
I used factory_girl recently on my last project
Mar 10 15:52
do you use auto_migrate to create your schema?