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: 260 seconds]
gadgetoid has quit [Ping timeout: 260 seconds]
rsim has quit [Quit: Leaving.]
gadgetoid has joined #datamapper
v0n has joined #datamapper
rsim has joined #datamapper
rsim has quit [Ping timeout: 240 seconds]
knowtheory has quit [Ping timeout: 248 seconds]
snusnu has quit [Quit: Leaving.]
knowtheory has joined #datamapper
rsim has joined #datamapper
rsim has quit [Ping timeout: 240 seconds]
snusnu has joined #datamapper
zombor has quit [Remote host closed the connection]
snusnu has quit [Quit: Leaving.]
postmodern has quit [Quit: Leaving]
v0n has quit [Ping timeout: 256 seconds]
g0bl1n_ has joined #datamapper
g0bl1n has quit [Ping timeout: 252 seconds]
g0bl1n_ is now known as g0bl1n
kadiks has joined #datamapper
kadiks has quit [Ping timeout: 248 seconds]
mbj has joined #datamapper
snusnu has joined #datamapper
solars has joined #datamapper
<solars> hi there
<solars> Field-count mismatch. Expected 17 fields, but the query yielded
<solars> does anyone know what this error means?
snusnu has quit [Quit: Leaving.]
g0bl1n has quit [Quit: g0bl1n]
snusnu has joined #datamapper
rsim has joined #datamapper
zombor has joined #datamapper
v0n has joined #datamapper
kleech has joined #datamapper
v0n has quit [Ping timeout: 256 seconds]
rsim has quit [Quit: Leaving.]
rsim has joined #datamapper
rsim has quit [Quit: Leaving.]
v0n has joined #datamapper
akasper has joined #datamapper
knowtheory has quit [Quit: Computer has gone to sleep]
g0bl1n has joined #datamapper
kleech has quit [Remote host closed the connection]
knowtheory has joined #datamapper
mikecmpbll has joined #datamapper
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
rsim has joined #datamapper
snusnu has quit [Quit: Leaving.]
<onewheelskyward> solars I'm guessing you have the wrong number of ?'s in your query. Or you haven't specified all of conditionals.
<solars> the error only happens temporarily, not always..
<solars> but I will check that
<onewheelskyward> Can you post the code snipped that generates the error?
<solars> unfortunately not, I'm not in the office anymore
<solars> but I will as soon as I am :)
<onewheelskyward> ok!
<Eiam> onewheelskyward: I think I found the line of code that causes the data mapper failure
<onewheelskyward> Really?
<Eiam> @review = MyModel.get(params[:id]) if params[:id]
<Eiam> I focused down on the logs more and noticed every connection error was on that line
<Eiam> reload, same line executes
<Eiam> thats in a before filter, so its called on EVERY request made
<onewheelskyward> Well, that'd be the first connection made, yep
<Eiam> so here is what i tried
<Cinchy> [gist] gist:8cb1ad03a4bcf2e53f98 (at gist.github.com, on 2013-09-27 17:44)
<Eiam> to "fix" it
<onewheelskyward> Well, to treat it anyway. :)
<Eiam> I have not deployed to production yet so I don't know if it will work, I'm going to deploy in about 4 hours
<onewheelskyward> Let me know how it goes.
<Eiam> yeah.. anything amiss you see in that code?
<Eiam> looks legit right? should rescue that error, and should retry up to 3 times
<onewheelskyward> Do you want to handle the exception after you're done retrying?
<Eiam> its not handled now
<onewheelskyward> True.
<Eiam> so it will ISS
<onewheelskyward> Looks good.
<Eiam> (Internal Server Error)
<Eiam> its REALLY weird that that line fails
<Eiam> its a basic call
<Eiam> the most basic of basic calls
<onewheelskyward> Well it's the first thing to try to use the connection, right?
<Eiam> to the DB, yes
<Eiam> should that matter?
<Eiam> does it need to be warmed or something?
brianpWins has joined #datamapper
<onewheelskyward> Not in my experience.
<onewheelskyward> I feel like it might have something to do with your vm environment.
zombor has quit [Read error: Connection reset by peer]
zombor has joined #datamapper
<Eiam> well shit, that'll teach me to land changes on master
<Eiam> had to fucking deploy it sooner than i wanted
<Eiam> =0
* Eiam stares at logs for errors
brianpWins has quit [Quit: brianpWins]
brianpWins has joined #datamapper
brianpWins has quit [Quit: brianpWins]
brianpWins has joined #datamapper
<onewheelskyward> heh
<Eiam> holding strong!
<onewheelskyward> How often had you seen the error in the past?
<Eiam> maybe every 1000 lines in the log?
<onewheelskyward> I mean, more often than a few times a day?
<Eiam> yeah for sure
<onewheelskyward> good.
<Eiam> maybe every 100th request or so
<Eiam> (and its in a before filter for EVERY request so)
<Eiam> d-day in 15 minutes
<Eiam> not gonna roll it back, will go live in front of execs
<Eiam> going to look at postgres losgs see if they provide any clues
<onewheelskyward> Good luck!
g0bl1n has quit [Quit: g0bl1n]
lgierth has joined #datamapper
rsim has quit [Quit: Leaving.]
rsim has joined #datamapper
knowtheory has quit [Ping timeout: 252 seconds]
knowtheory has joined #datamapper
akasper has quit [Quit: Leaving.]
akasper has joined #datamapper
akasper has quit [Client Quit]
snusnu has joined #datamapper
zombor has quit [Remote host closed the connection]
Cinchy_ has joined #datamapper
Cinchy has quit [Remote host closed the connection]
knowtheory has quit [Quit: Computer has gone to sleep]
snusnu has quit [Quit: Leaving.]
solars has quit [Ping timeout: 246 seconds]
lgierth has quit [Quit: Ex-Chat]