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
lgierth has quit [Quit: Ex-Chat]
<rtyler> if you add an index to a property after the fact, is there any way to get DM to create the index on an already migrated DB?
zombor has quit [Remote host closed the connection]
alessand2o has quit [Ping timeout: 272 seconds]
alessandro has joined #datamapper
zombor has joined #datamapper
zombor has quit [Ping timeout: 240 seconds]
zombor has joined #datamapper
zombor has quit [Ping timeout: 265 seconds]
dkubb has joined #datamapper
skade has joined #datamapper
skade has quit [Quit: Computer has gone to sleep.]
zombor has joined #datamapper
zombor has quit [Ping timeout: 240 seconds]
mbj has joined #datamapper
mbj has quit [Ping timeout: 264 seconds]
skade has joined #datamapper
mbj has joined #datamapper
zombor has joined #datamapper
zombor has quit [Ping timeout: 240 seconds]
zombor has joined #datamapper
zombor has quit [Ping timeout: 265 seconds]
mikecmpbll has joined #datamapper
mbj has quit [Ping timeout: 265 seconds]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mikecmpbll has joined #datamapper
zombor has joined #datamapper
zombor has quit [Ping timeout: 272 seconds]
postmodern has quit [Quit: Leaving]
rsim has joined #datamapper
zombor has joined #datamapper
zombor has quit [Remote host closed the connection]
zombor has joined #datamapper
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mikecmpbll has joined #datamapper
lgierth has joined #datamapper
zombor has quit [Ping timeout: 240 seconds]
lgierth has quit [Quit: Ex-Chat]
zombor has joined #datamapper
zombor has joined #datamapper
zombor has quit [Changing host]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mikecmpbll has joined #datamapper
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
skade has joined #datamapper
knowtheory has quit [Quit: Computer has gone to sleep]
knowtheory has joined #datamapper
akasper has joined #datamapper
knowtheory has quit [Ping timeout: 246 seconds]
knowtheory has joined #datamapper
akasper has quit [Quit: Leaving.]
akasper has joined #datamapper
rsim has quit [Quit: Leaving.]
mbj has joined #datamapper
mbj has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mbj has joined #datamapper
akasper1 has joined #datamapper
akasper has quit [Ping timeout: 272 seconds]
mikecmpbll has joined #datamapper
mbj has quit [Ping timeout: 240 seconds]
mbj has joined #datamapper
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mbj has quit [Read error: Connection reset by peer]
skade has quit [Quit: Computer has gone to sleep.]
dkubb has quit [Quit: Linkinus - http://linkinus.com]
mbj has joined #datamapper
postmodern has joined #datamapper
<namelessjon> rtyler: No, you need to write a migration or otherwise do it yourself. auto_upgrade! doesn't add indices.
<rtyler> I started to piece that together, what I haven't found yet is the documentation for writing an index adding migration
cloaked1 has joined #datamapper
<cloaked1> how can one tell datamapper to use persistent mysql connections?
<cloaked1> seems like I'd have to use #adapter
<rtyler> what do you mean by persistent mysql connections/
<rtyler> as in, a connection pool
<cloaked1> yes
<cloaked1> I need to keep my connections open with the backend...
<rtyler> IIRC the `do` gem already does some connection pooling
<cloaked1> ah, really? Is it configurable for say, timeouts?
<rtyler> not really
<rtyler> it's kind of obtuse IMO
<cloaked1> and I would like to be able to configure how many concurrent persistent connections are up, too.
<namelessjon> Not really. But yeah, if you keep connections in use, it will recycle them.
<cloaked1> namelessjon: any idea how long they persist before they die?
<cloaked1> I'm assuming you mean by "recycle" that they are used again...?
<cloaked1> My problem is that we are using too many connections to the DB and the DB is denying connections and therefore killing the app.
<cloaked1> but that's because of the amount of requests coming in for the web app and causing new db connections.
<namelessjon> cloaked1: Yeah.
<cloaked1> I have ~640K connections that will come in within an hour timeframe.
<cloaked1> no bueno for a DB backend.
<cloaked1> googling this, though, seems odd. I can't really find a lot of support ofr this even in the lower-level libraries like mysql2.
<cloaked1> unless Mysql2::Client::MULTI_STATEMENTS is like a bastardized method of doing it... ??
<cloaked1> ah hah
<cloaked1> :reconnect => true to the #client in mysql2 does it...apparently.
<cloaked1> so now, I'm wondering...is there a way to pass parameters to the lower level layers with dm?
mbj has quit [Ping timeout: 241 seconds]
cloaked1 has quit [Quit: Page closed]
dkubb has joined #datamapper
zombor has quit [Remote host closed the connection]
Eiam has quit [Ping timeout: 260 seconds]
Eiam has joined #datamapper
lgierth has joined #datamapper
mikecmpbll has joined #datamapper
shingara has quit [*.net *.split]
shingara has joined #datamapper
zombor has joined #datamapper
stepheneb has joined #datamapper
Cinchy_ is now known as Cinchy
knowtheory has quit [Quit: Computer has gone to sleep]
knowtheory has joined #datamapper
knowtheory has quit [Ping timeout: 272 seconds]
lgierth has quit [Quit: Ex-Chat]
rsim has joined #datamapper
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
knowtheory has joined #datamapper
zombor has quit [Ping timeout: 248 seconds]
zombor has joined #datamapper
rsim has quit [Quit: Leaving.]
skade has joined #datamapper
skade has quit [Client Quit]