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
rsim has joined #datamapper
rsim has quit [Ping timeout: 245 seconds]
rsim has joined #datamapper
rsim has quit [Ping timeout: 245 seconds]
rsim has joined #datamapper
rsim has quit [Ping timeout: 245 seconds]
skade has joined #datamapper
skade has quit [Ping timeout: 246 seconds]
rsim has joined #datamapper
postmodern has quit [Quit: Leaving]
rsim has quit [Ping timeout: 245 seconds]
skade has joined #datamapper
rsim has joined #datamapper
rsim has quit [Ping timeout: 245 seconds]
postmodern has joined #datamapper
tehprofessor has quit [Ping timeout: 240 seconds]
tehprofessor_ has joined #datamapper
skade has quit [Quit: Computer has gone to sleep.]
rsim has joined #datamapper
rsim has quit [Ping timeout: 245 seconds]
mikecmpbll has joined #datamapper
rsim has joined #datamapper
siel has quit [*.net *.split]
rikai has quit [*.net *.split]
indrek has quit [*.net *.split]
nhmood has quit [*.net *.split]
v0n has quit [*.net *.split]
indrek has joined #datamapper
siel has joined #datamapper
tehprofessor_ has quit [*.net *.split]
v0n has joined #datamapper
cschneid has quit [*.net *.split]
shingara has quit [*.net *.split]
tehprofessor has joined #datamapper
rikai has joined #datamapper
rikai has quit [Changing host]
rikai has joined #datamapper
nhmood has joined #datamapper
shingara has joined #datamapper
nhmood has quit [*.net *.split]
siel has quit [*.net *.split]
mkf has quit [*.net *.split]
banym has quit [*.net *.split]
onewheelskyward has quit [*.net *.split]
banym has joined #datamapper
Gadgetoid has quit [*.net *.split]
viranch has quit [*.net *.split]
flori_ has quit [*.net *.split]
flori has joined #datamapper
nhmood has joined #datamapper
siel has joined #datamapper
viranch has joined #datamapper
Gadgetoid has joined #datamapper
mkf has joined #datamapper
onewheelskyward has joined #datamapper
cschneid has joined #datamapper
skade has joined #datamapper
nhmood has quit [Changing host]
nhmood has joined #datamapper
mkf has quit [Changing host]
mkf has joined #datamapper
nhmood has quit [*.net *.split]
postmodern has quit [*.net *.split]
postmodern has joined #datamapper
nhmood has joined #datamapper
nhmood has quit [Ping timeout: 264 seconds]
nhmood has joined #datamapper
siel has quit [Ping timeout: 264 seconds]
rikai has quit [*.net *.split]
jordanyee has quit [*.net *.split]
xargoon has quit [*.net *.split]
abuiles has quit [*.net *.split]
kapowaz has quit [*.net *.split]
cbuxton_____ has quit [Ping timeout: 248 seconds]
xargoon has joined #datamapper
siel has joined #datamapper
jordanyee has joined #datamapper
rikai has joined #datamapper
rikai has joined #datamapper
kapowaz has joined #datamapper
abuiles has joined #datamapper
cbuxton_____ has joined #datamapper
siel has quit [Changing host]
siel has joined #datamapper
skade has quit [*.net *.split]
shingara has quit [*.net *.split]
tehprofessor has quit [*.net *.split]
v0n has quit [*.net *.split]
mikecmpbll has quit [*.net *.split]
mikecmpbll has joined #datamapper
shingara has joined #datamapper
skade has joined #datamapper
tehprofessor has joined #datamapper
v0n has joined #datamapper
tehprofessor has quit [Quit: tehprofessor]
cbuxton_____ has quit [Read error: Connection reset by peer]
kapowaz has quit [Read error: Network is unreachable]
kapowaz has joined #datamapper
cbuxton_____ has joined #datamapper
postmodern has quit [Ping timeout: 252 seconds]
skade has quit [Quit: Computer has gone to sleep.]
postmodern has joined #datamapper
solars has joined #datamapper
<solars> hey, can I somehow pass an array as query param? like 'hotel_id in [1,2,3,4]' ?
someperson has joined #datamapper
<someperson> how does this happen?
<someperson> ProfileLog.repository(:log_read).adapter.select("SELECT id, at FROM profile_logs WHERE at IS NOT NULL AND id>=2135552536 ORDER BY id LIMIT 1")
<someperson> => [#<struct id=2136313633, at=nil>]
<someperson> would like to prevent nil 'at' from getting returned ..
<someperson> recently upgraded from dataobjects 0.10.0 to 0.10.9, not sure if that's a factor hmm
<someperson> ok, i guess it's a '0000-00-00 00:00:00' to nil conversion going on
lgierth has joined #datamapper
postmodern has quit [Quit: Leaving]
someperson has left #datamapper [#datamapper]
rsim has quit [Quit: Leaving.]
banym has quit [*.net *.split]
solars has quit [*.net *.split]
irclogger_com has quit [*.net *.split]
banym has joined #datamapper
solars has joined #datamapper
irclogger_com has joined #datamapper
skade has joined #datamapper
solars has quit [Ping timeout: 240 seconds]
rsim has joined #datamapper
_br_ has joined #datamapper
mikecmpbll has quit [Ping timeout: 255 seconds]
mikecmpbll has joined #datamapper
lgierth has quit [Quit: Ex-Chat]
rsim has quit [Quit: Leaving.]
rsim has joined #datamapper
rsim has quit [Quit: Leaving.]
banym has quit [Changing host]
banym has joined #datamapper
lgierth has joined #datamapper
flori has quit [Read error: Operation timed out]
flori has joined #datamapper
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #datamapper
flori has quit [Ping timeout: 250 seconds]
flori has joined #datamapper
postmodern has joined #datamapper
rsim has joined #datamapper
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #datamapper
skade has quit [Client Quit]
lgierth has quit [Remote host closed the connection]
lgierth has joined #datamapper
combusean has joined #datamapper
<combusean> hey guys, i'm having a really odd issue where datamapper is insisting on connecting to my eth0 ip even tho i'm sending it a completely different connection string. i don't even have mysql listening on 10.0.1.249:3306, yet the error is DataObjects::ConnectionError - Access denied for user 'deploy'@'10.0.1.249' (using password: YES):
<combusean> in the full traceback it never even appears to go into the dm-mysql gem
<postmodern> combusean, what is the database URI your passing in?
<combusean> mysql://deploy:[13-character-password]@deployer.[our rds].us-west-2.rds.amazonaws.com/deployer
<postmodern> combusean, and what does host reply for that IP, on the server?
<postmodern> *for that hostname
<postmodern> combusean, remember AWS has different internal/external IPs for hostnames
<combusean> [root@ip-10-0-1-249 ~]# host deployer.ourrds.us-west-2.rds.amazonaws.com
<combusean> deployer.ourrds.us-west-2.rds.amazonaws.com has address 10.0.1.134
<combusean> 10.0.1.249 is the ip of the machine i'm on
<postmodern> combusean, interesting
<combusean> it doesn't even have mysql-server on it
<combusean> [root@ip-10-0-1-249 ~]# telnet 10.0.1.249 3306
<combusean> Trying 10.0.1.249...
<combusean> telnet: connect to address 10.0.1.249: Connection refused
<combusean> does datamapper do any caching of anything?
<postmodern> it does have a connection pool
<combusean> the funny thing is this worked yesterday until i changed an rds password, afaict
<combusean> i've reset nginx a zillion times since then
<postmodern> you'll also want to restart your unicorn/thin processes
<combusean> it's passenger here
<postmodern> ah ha
<postmodern> yeah idk
<postmodern> you might want to test it manually with DataObjects
<postmodern> it could just be an invalid error message?
<combusean> the funny thing is when i set the RACK_ENV=production bundle exec irb; require './web', it works
<combusean> i know nginx has the right env setup cause i puts the uri it connects to right before the .setup method
<combusean> actually, postmodern, i think it's local mysql
combusean has quit [Ping timeout: 240 seconds]
lgierth has quit [Quit: Ex-Chat]
lgierth has joined #datamapper
lgierth has quit [Remote host closed the connection]