ljarvis changed the topic of #ruby-lang to: Ruby 2.1.2; 2.0.0-p481; 1.9.3-p547: http://ruby-lang.org || Paste code on http://gist.github.com
bronky has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
tkuchiki has quit [Remote host closed the connection]
amerine has quit [Quit: Computer has gone to sleep.]
amerine has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
sepp2k1 has joined #ruby-lang
sepp2k has quit [Ping timeout: 260 seconds]
Silex has quit [Ping timeout: 240 seconds]
momomomomo has quit [Read error: Connection reset by peer]
momomomomo has joined #ruby-lang
havenwood has joined #ruby-lang
Silex has joined #ruby-lang
saarinen has quit [Quit: saarinen]
epitron has quit [Remote host closed the connection]
epitron has joined #ruby-lang
tylersmith has joined #ruby-lang
cklee has quit [Quit: Connection closed for inactivity]
ddv has quit [Ping timeout: 260 seconds]
spuk has joined #ruby-lang
ddv has joined #ruby-lang
tkuchiki has joined #ruby-lang
amystephen has quit [Ping timeout: 260 seconds]
yfeldblum has joined #ruby-lang
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
tdy has quit [Quit: WeeChat 0.4.3]
elia has quit [Quit: Computer has gone to sleep.]
momomomomo has quit [Quit: momomomomo]
bronky has joined #ruby-lang
stardiviner has joined #ruby-lang
_djbkd has quit [Remote host closed the connection]
vintik has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
mistym has quit [Remote host closed the connection]
marr has quit [Ping timeout: 260 seconds]
djbkd has quit [Ping timeout: 240 seconds]
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
Technodrome has quit [Quit: Technodrome]
spuk has joined #ruby-lang
amerine has quit [Ping timeout: 264 seconds]
amerine has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
mistym has joined #ruby-lang
pixelhandler has quit [Quit: pixelhandler]
Miphix has joined #ruby-lang
kalehv has joined #ruby-lang
Cakey has joined #ruby-lang
weems|mac has quit [Quit: weems|mac]
mykoweb has joined #ruby-lang
sarkyniin has quit [Ping timeout: 255 seconds]
ItSAN____ has quit [Quit: Leaving...]
bronky has quit [Ping timeout: 245 seconds]
Cakey has quit [Ping timeout: 240 seconds]
xcesariox has quit [Remote host closed the connection]
brianpWins has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
Technodrome has joined #ruby-lang
weems|mac has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
shinnya has quit [Ping timeout: 240 seconds]
Averna has joined #ruby-lang
Averna has quit [Client Quit]
Averna has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
toastynerd has joined #ruby-lang
kalehv has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 240 seconds]
kalehv has joined #ruby-lang
yfeldblu_ has quit [Ping timeout: 240 seconds]
Miphix has quit [Quit: Leaving]
Technodrome has quit [Quit: Technodrome]
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
kalehv has quit [Ping timeout: 240 seconds]
ItSANgo has joined #ruby-lang
vintik has joined #ruby-lang
mykoweb has quit [Ping timeout: 255 seconds]
Miphix has joined #ruby-lang
Technodrome has joined #ruby-lang
havenwood has joined #ruby-lang
mykoweb has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
havenwood has quit [Ping timeout: 264 seconds]
rubyNooby has joined #ruby-lang
Cakey has joined #ruby-lang
<rubyNooby> anyone know how to pass a array of hashes as params in a form? right now when i try to place my array of hashes in a param it is passed as a string with the commas missing.
havenwood has joined #ruby-lang
yfeldblum has joined #ruby-lang
havenwood has quit [Ping timeout: 264 seconds]
dwknoxy has quit [Quit: Textual IRC Client: www.textualapp.com]
davispuh has quit [Read error: Connection reset by peer]
rubyNooby has quit [Ping timeout: 246 seconds]
kalehv has joined #ruby-lang
closer has quit [Ping timeout: 252 seconds]
Guest77723 has joined #ruby-lang
Guest77723 is now known as KaptaN
closer has joined #ruby-lang
KaptaN has left #ruby-lang [#ruby-lang]
wallerdev has joined #ruby-lang
Cakey has quit [Ping timeout: 245 seconds]
zz_sMecKs has joined #ruby-lang
ledestin has quit [Ping timeout: 240 seconds]
sepp2k1 has quit [Read error: Connection reset by peer]
wallerdev has quit [Client Quit]
wallerdev has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
stardiviner has quit [Ping timeout: 260 seconds]
toastynerd has joined #ruby-lang
rramphal has joined #ruby-lang
rramphal has quit [Client Quit]
bronky has joined #ruby-lang
rramphal has joined #ruby-lang
rramphal has left #ruby-lang [#ruby-lang]
kalehv has quit [Remote host closed the connection]
kalehv has joined #ruby-lang
stardiviner has joined #ruby-lang
kalehv has quit [Ping timeout: 256 seconds]
kalehv_ has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
DivineEntity has quit [Quit: Lost terminal]
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
stardiviner has joined #ruby-lang
kalehv_ has quit [Ping timeout: 255 seconds]
weems|mac has quit [Quit: weems|mac]
mistym has quit [Remote host closed the connection]
MikaAK has joined #ruby-lang
djbkd has joined #ruby-lang
Pain has joined #ruby-lang
ledestin has joined #ruby-lang
willmarshall has joined #ruby-lang
momomomomo has joined #ruby-lang
Pain has quit [Client Quit]
stardiviner has quit [Ping timeout: 240 seconds]
stardiviner has joined #ruby-lang
stardiviner has quit [Changing host]
stardiviner has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
kalehv has joined #ruby-lang
hahuang65 has joined #ruby-lang
kalehv has quit [Ping timeout: 250 seconds]
tectonic has joined #ruby-lang
weems|mac has joined #ruby-lang
vintik has quit [Remote host closed the connection]
Cakey has joined #ruby-lang
havenwood has joined #ruby-lang
DivineEntity has joined #ruby-lang
ur5us has joined #ruby-lang
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
toastynerd has joined #ruby-lang
havenwood has quit []
arquebus has joined #ruby-lang
gix has quit [Ping timeout: 250 seconds]
sMecKs has joined #ruby-lang
charliesome has joined #ruby-lang
mistym has joined #ruby-lang
gix has joined #ruby-lang
D9 has quit [Quit: Leaving]
Cakey has quit [Ping timeout: 272 seconds]
jackyalcine is now known as jalcine
momomomomo has quit [Quit: momomomomo]
weems|mac has quit [Quit: weems|mac]
Mon_Ouie has joined #ruby-lang
mistym has quit [Quit: Leaving...]
kalehv has joined #ruby-lang
spastorino has quit [Quit: Connection closed for inactivity]
kalehv has quit [Ping timeout: 240 seconds]
arquebus has quit [Quit: Konversation terminated!]
harshp__ has joined #ruby-lang
stardiviner has joined #ruby-lang
djbkd has quit [Quit: My people need me...]
harshp_ has quit [Ping timeout: 260 seconds]
MikaAK has quit [Remote host closed the connection]
mehlah has quit [Quit: Leaving...]
cschneid has quit [Ping timeout: 240 seconds]
CaptainJet has quit []
cschneid has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bronky has quit [Quit: Lost terminal]
yfeldblum has quit [Ping timeout: 255 seconds]
pipework is now known as boten_anna
tectonic has quit []
_ht has joined #ruby-lang
yxhuvud has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
jxie has quit [Read error: Connection reset by peer]
jxie has joined #ruby-lang
boten_anna is now known as pipework
havenwood has joined #ruby-lang
apeiros has quit [Read error: Connection reset by peer]
apeiros has joined #ruby-lang
escues has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
tylersmith has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
kalehv has joined #ruby-lang
tylersmith has joined #ruby-lang
mykoweb has quit [Ping timeout: 245 seconds]
kalehv has quit [Ping timeout: 240 seconds]
tylersmith has quit [Ping timeout: 264 seconds]
escues has quit [Quit: escues]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
solars has joined #ruby-lang
apeiros has quit [Ping timeout: 260 seconds]
ur5us has quit [Remote host closed the connection]
relix has joined #ruby-lang
ledestin has quit [Quit: ledestin]
yfeldblum has joined #ruby-lang
AKASkip has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
scmx has joined #ruby-lang
apeiros has joined #ruby-lang
dangerousdave has joined #ruby-lang
amerine has quit [Quit: Computer has gone to sleep.]
amerine has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hahuang65 has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby-lang
AKASkip has quit [Ping timeout: 255 seconds]
scmx has quit [Ping timeout: 272 seconds]
vintik has joined #ruby-lang
Eising has left #ruby-lang [#ruby-lang]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
willmarshall has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kwd has joined #ruby-lang
mykoweb has joined #ruby-lang
cornerman has joined #ruby-lang
MikaAK has joined #ruby-lang
Cakey has joined #ruby-lang
hahuang65 has joined #ruby-lang
vintik has quit [Remote host closed the connection]
hahuang65 has quit [Ping timeout: 240 seconds]
banister is now known as banisterfiend
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
scmx has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
arBmind1 has quit [Quit: Leaving.]
mykoweb has quit [Ping timeout: 240 seconds]
ledestin has joined #ruby-lang
|jemc| has quit [Quit: WeeChat 0.4.3]
kalehv has joined #ruby-lang
AKASkip has joined #ruby-lang
Cakey has quit [Ping timeout: 245 seconds]
kalehv has quit [Ping timeout: 264 seconds]
tbuehlmann has joined #ruby-lang
ledestin has quit [Quit: ledestin]
MikaAK has quit [Remote host closed the connection]
MikaAK has joined #ruby-lang
nofxx_ has quit [Ping timeout: 240 seconds]
ledestin has joined #ruby-lang
arBmind has joined #ruby-lang
arBmind1 has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
skade has joined #ruby-lang
arBmind has quit [Ping timeout: 250 seconds]
kiddorails has joined #ruby-lang
Technodrome has quit [Quit: Technodrome]
relix has quit [Remote host closed the connection]
relix has joined #ruby-lang
MikaAK has quit [Remote host closed the connection]
<Silex> h.map{|k,v|"#{k}=#{v}"}.join(",") but surely there's something that does that already in URI or CGI or smth
<sluukkonen> pretty sure I've used something from Rack::Utils to do that before
ledestin has quit [Quit: ledestin]
Averna has quit [Quit: Leaving.]
<sluukkonen> oh that was asked 5 hours ago
alexju has joined #ruby-lang
ledestin has joined #ruby-lang
<apeiros> also note that your map is broken. you forgot to escape the values.
mikecmpbll has joined #ruby-lang
benlovell has joined #ruby-lang
ironhide_604 has joined #ruby-lang
sMecKs has quit [Read error: Connection reset by peer]
kiddorails has quit [Remote host closed the connection]
kalehv has joined #ruby-lang
kiddorails has joined #ruby-lang
postmodern has quit [Quit: Leaving]
kalehv has quit [Ping timeout: 245 seconds]
benlovell has quit [Ping timeout: 255 seconds]
benlovell has joined #ruby-lang
<yorickpeterse> morning fleshlings
Cakey has joined #ruby-lang
fullybaked has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
hahuang65 has joined #ruby-lang
knu has quit [Remote host closed the connection]
knu has joined #ruby-lang
hahuang65 has quit [Ping timeout: 256 seconds]
benlovell has quit [Ping timeout: 245 seconds]
benlovell has joined #ruby-lang
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ledestin has quit [Quit: ledestin]
Cakey has quit [Ping timeout: 245 seconds]
benlovell has quit [Ping timeout: 255 seconds]
ssam2 has joined #ruby-lang
miqui has quit [Ping timeout: 240 seconds]
benlovell has joined #ruby-lang
achiu1 has quit [Ping timeout: 245 seconds]
kiddorails has quit [Remote host closed the connection]
kiddorails has joined #ruby-lang
kalehv has joined #ruby-lang
kalehv has quit [Ping timeout: 240 seconds]
hahuang65 has joined #ruby-lang
workmad3 has joined #ruby-lang
hahuang65 has quit [Ping timeout: 240 seconds]
marr has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.3]
kiddorails has quit [Remote host closed the connection]
miqui has joined #ruby-lang
hahuang65 has joined #ruby-lang
kiddorails has joined #ruby-lang
alexju has quit [Read error: Connection reset by peer]
<yorickpeterse> apparently some web spider is trying to submit SSL certificates to one of our websites
<yorickpeterse> wat
<yorickpeterse> (at least it looks like that)
achiu1 has joined #ruby-lang
benlovell has quit [Ping timeout: 250 seconds]
knu has quit [Ping timeout: 250 seconds]
benlovell has joined #ruby-lang
hahuang65 has quit [Ping timeout: 272 seconds]
kek has joined #ruby-lang
knu has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
fullybaked has quit [Ping timeout: 250 seconds]
ledestin has joined #ruby-lang
Atttwww has quit [Remote host closed the connection]
Atttwww has joined #ruby-lang
sarkyniin has joined #ruby-lang
zenspider has quit [Ping timeout: 272 seconds]
zenspider has joined #ruby-lang
kiddorails has quit [Remote host closed the connection]
Atttwww has quit [Ping timeout: 264 seconds]
bin7me has joined #ruby-lang
Miphix has quit [Quit: Leaving]
ddv has quit [Changing host]
ddv has joined #ruby-lang
hahuang65 has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblum has quit [Ping timeout: 250 seconds]
bin7me has quit [Quit: Leaving]
kiddorails has joined #ruby-lang
havenwood has quit []
mnngfltg has joined #ruby-lang
tylersmith has joined #ruby-lang
tylersmith has quit [Ping timeout: 260 seconds]
banister has joined #ruby-lang
DivineEntity has quit [Ping timeout: 250 seconds]
DivineEntity has joined #ruby-lang
kyb3r_ has quit [Read error: Connection reset by peer]
zenspider has quit [Remote host closed the connection]
mehlah has joined #ruby-lang
stamina has joined #ruby-lang
hahuang65 has quit [Ping timeout: 255 seconds]
shevy has joined #ruby-lang
shevy has left #ruby-lang ["I'll be back ... maybe"]
gregf_ has quit [Quit: leaving]
gpg_ has joined #ruby-lang
<gpg_> hi all
<gpg_> whats the diff between method and a method edning with a bang method!
<gpg_> ?
chrisco has joined #ruby-lang
<canton7> a bang method normally only exists if there's also a non-bang version. the bang method is probably more "dangerous", or does something more unexpected
chrisco has quit [Client Quit]
<canton7> quite often bang methods mutate the object they're called on, e.g. map! mutates, and map doesn't
<canton7> but that's not always the case
<gpg_> mutates meaning changes the method
<gpg_> after it has been called
<gpg_> i guess
<gpg_> thanks!
<darix> gpg_: non bang returns a new object
<darix> bang method modifies the receiver directly
<gpg_> yep thanks
<gpg_> what about this method what does the bang mean:
<gpg_> def legacy? !token end
<darix> gpg_: that is "not"
<gpg_> ok
<gpg_> thanks
<gpg_> !
yfeldblum has joined #ruby-lang
<gpg_> not true
<gpg_> not existing
<darix> you.sure?
<gpg_> i huess
<gpg_> ok thanks
Voker57 has joined #ruby-lang
<gpg_> so question mark methods like def legacy? !token end output true or false depend on cond
<gpg_> boolen outputs
<gpg_> true or false :) ?
<gpg_> ok thnaks
<darix> yes they are commonly used for true/False questions
<ljarvis> gpg_: please string your sentences on a single line, not across loads, it's harder to read
<workmad3> darix: strictly speaking, a bang method is a 'warning, this method does something different to a non-bang that you should be aware of'
yfeldblum has quit [Ping timeout: 255 seconds]
<ljarvis> yeah ruby has stupid methods that mutate self that aren't bang methods
<darix> workmad3: have you seen it used differently to what i wrote above?
<ljarvis> *punch*
<workmad3> darix: not a 'modifies receiver' method... plenty of methods modify the receiver without a !, and several notable methods don't do anything with the receiver but are different from a non-bang in a noticable way
<workmad3> darix: e.g. exit vs exit!
<darix> aha
<workmad3> darix: also, in activerecord, save vs save! is to do with behaviour of validations
<darix> ok
<darix> forgot that part. dont use save! all that often :)
<workmad3> darix: there's a good deal of overlap with 'this version doesn't modify the receiver and this version does' and 'this version does something you should be aware of' though, which causes the mis-apprehension :) and it doesn't help that in LISP, ! is used for exactly what you stated ;)
<workmad3> darix: there are also cases where people add in ! methods without a non-bang alternative for (imo, bad) reasons... one that annoys me is the 'reload!' method in rails console :(
hahuang65 has joined #ruby-lang
miqui has quit [Remote host closed the connection]
TvL2386 has joined #ruby-lang
<darix> workmad3: well if you take "!" as "danger ahead" marker ... then this is fine... I dont see what you would implement differently in "reload" :)
spastorino has joined #ruby-lang
<gpg_> guys which line breaks first in my stack trace:
<gpg_> OpenSSL::Cipher::CipherError (bad decrypt): lib/secret_service_connector.rb:171:in `update!' app/models/payment/authorization.rb:50:in `process' app/controllers/payments/authorizations_controller.rb:49:in `create'
<gpg_> thanks
shireesh has joined #ruby-lang
Miphix has joined #ruby-lang
shireesh has quit [Client Quit]
joonty has quit [Ping timeout: 245 seconds]
<darix> gpg_: 1. paste to pastie.org or so
<darix> 2. multi line stack trace reads better in something where we can see multiple lines
tylersmith has joined #ruby-lang
joonty has joined #ruby-lang
tylersmith has quit [Ping timeout: 245 seconds]
benlovell has quit [Ping timeout: 272 seconds]
kiddorails has quit [Remote host closed the connection]
kiddorails has joined #ruby-lang
ldnunes has joined #ruby-lang
amystephen has joined #ruby-lang
scmx has quit [Ping timeout: 245 seconds]
Cakey has joined #ruby-lang
scmx has joined #ruby-lang
charliesome has joined #ruby-lang
Cakey has quit [Ping timeout: 272 seconds]
godd2 has quit [Remote host closed the connection]
zenspider has joined #ruby-lang
wnd has quit [Quit: Disconnecting from stoned server.]
wnd has joined #ruby-lang
Sgeo has quit [Read error: Connection reset by peer]
benlovell has joined #ruby-lang
symm- has quit [Ping timeout: 250 seconds]
<Silex> workmad3: I found a drawback to ruby-install+chruby: bundle cleanup --force
gregf_ has joined #ruby-lang
<Silex> workmad3: but yeah, chgems to solve that I guess :)
<Silex> all in all it is much easier than rvm to set up
davispuh has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
symm- has joined #ruby-lang
hahuang65 has quit [Ping timeout: 264 seconds]
marr has quit [Ping timeout: 240 seconds]
sarkyniin has quit [Ping timeout: 260 seconds]
cornerma1 has joined #ruby-lang
DivineEntity has quit [Quit: leaving]
cornerman has quit [Ping timeout: 260 seconds]
AKASkip has quit [Ping timeout: 240 seconds]
kek_ has joined #ruby-lang
kiddorails has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kek has quit [Ping timeout: 255 seconds]
tylersmith has joined #ruby-lang
Cakey has joined #ruby-lang
kiddorails has joined #ruby-lang
kiddorails has quit [Remote host closed the connection]
malconis has joined #ruby-lang
malconis has quit [Remote host closed the connection]
malconis has joined #ruby-lang
tylersmith has quit [Ping timeout: 255 seconds]
joast has joined #ruby-lang
hahuang65 has joined #ruby-lang
<gpg_> hi all how to convert active record object to str?
<gpg_> a=Model.select("column_name")
<gpg_> a.each do |i| puts i.to_str end
<gpg_> or store each value as a string in a array
Cakey has quit [Ping timeout: 240 seconds]
dwknoxy has joined #ruby-lang
Fushi has joined #ruby-lang
charliesome has joined #ruby-lang
charliesome has quit [Client Quit]
mehlah has quit [Quit: Leaving...]
kiddorails has joined #ruby-lang
kiddorails has quit [Remote host closed the connection]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
Forgetful_Lion has quit [Remote host closed the connection]
weems|mac has joined #ruby-lang
ari-_-e has quit [Ping timeout: 255 seconds]
ari-_-e has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banister has joined #ruby-lang
tkuchiki_ has joined #ruby-lang
charliesome has joined #ruby-lang
miqui has joined #ruby-lang
tkuchiki has quit [Ping timeout: 256 seconds]
scmx has quit [Ping timeout: 240 seconds]
tkuchiki_ has quit [Ping timeout: 255 seconds]
seanosaur has joined #ruby-lang
pskosinski has joined #ruby-lang
kiddorails has joined #ruby-lang
AKASkip has joined #ruby-lang
arBmind1 has quit [Quit: Leaving.]
kiddorails has quit [Remote host closed the connection]
arBmind has joined #ruby-lang
hahuang65 has quit [Ping timeout: 240 seconds]
mehlah has joined #ruby-lang
kiddorails has joined #ruby-lang
FastJack has quit [Ping timeout: 250 seconds]
<workmad3> Silex: I've not used bundle cleanup --force in dev... not needed to ;)
kiddorails has quit [Read error: No route to host]
kiddorails has joined #ruby-lang
FastJack has joined #ruby-lang
kiddorails has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
relix has quit [Read error: Connection reset by peer]
relix_ has joined #ruby-lang
tylersmith has joined #ruby-lang
marr has joined #ruby-lang
kek_ has quit [Remote host closed the connection]
kek has joined #ruby-lang
centrx has joined #ruby-lang
mikecmpbll has quit [Ping timeout: 250 seconds]
tylersmith has quit [Ping timeout: 245 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikecmpbll has joined #ruby-lang
supergeek has joined #ruby-lang
supergeek has quit [Client Quit]
stamina has quit [Ping timeout: 240 seconds]
relix_ has quit [Remote host closed the connection]
relix has joined #ruby-lang
Technodrome has joined #ruby-lang
JohnFord has joined #ruby-lang
yfeldblum has joined #ruby-lang
symm- has quit [Quit: Leaving...]
jxie has quit [Ping timeout: 250 seconds]
jds has joined #ruby-lang
skade has joined #ruby-lang
jxie has joined #ruby-lang
yfeldblum has quit [Ping timeout: 256 seconds]
hahuang65 has joined #ruby-lang
kiddorails has joined #ruby-lang
kiddorails has quit [Remote host closed the connection]
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
symm- has joined #ruby-lang
kiddorails has joined #ruby-lang
fullybaked has joined #ruby-lang
FastJack has quit [Ping timeout: 250 seconds]
loincloth has joined #ruby-lang
pskosinski has quit [Quit: Til rivido Idisti! | http://www.ido.li]
benlovell has quit [Ping timeout: 272 seconds]
FastJack has joined #ruby-lang
benlovell has joined #ruby-lang
cmhobbs has joined #ruby-lang
cmhobbs has joined #ruby-lang
toastynerd has joined #ruby-lang
<gpg_> hello
<gpg_> i am trying to update valus in column with activerecord. i have output which is an array of strings. how do i replace current encrypted values with decrypted ones . My code: https://gist.github.com/ggeorgiev1/a211715c4dac5d2e2dae
JohnFord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kiddorails has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
tylersmith has quit [Ping timeout: 255 seconds]
banister has joined #ruby-lang
sarkyniin has joined #ruby-lang
kiddorails has joined #ruby-lang
yfeldblum has joined #ruby-lang
banister_ has joined #ruby-lang
banister_ has quit [Max SendQ exceeded]
yfeldblum has quit [Ping timeout: 240 seconds]
banister_ has joined #ruby-lang
banister_ has quit [Max SendQ exceeded]
toastynerd has quit [Remote host closed the connection]
banister_ has joined #ruby-lang
banister has quit [Ping timeout: 256 seconds]
blurredbits has joined #ruby-lang
hahuang65 has quit [Ping timeout: 256 seconds]
centrx has quit [Quit: Mead error: Connection reset by beer]
CaptainJet has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
momomomomo has joined #ruby-lang
Miphix has quit [Quit: Leaving]
weems|mac has quit [Quit: weems|mac]
kwd has quit [Quit: Leaving.]
arBmind has joined #ruby-lang
karamazov has joined #ruby-lang
scmx has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
shinnya has joined #ruby-lang
apeiros has joined #ruby-lang
banisterfiend has joined #ruby-lang
tbuehlmann has quit [Quit: Leaving]
jlovick has joined #ruby-lang
banister_ has quit [Ping timeout: 260 seconds]
apeiros has quit [Ping timeout: 264 seconds]
solars has quit [Ping timeout: 245 seconds]
Miphix has joined #ruby-lang
VTLob has joined #ruby-lang
hahuang65 has joined #ruby-lang
banister has joined #ruby-lang
tdy has joined #ruby-lang
mnngfltg has quit [Remote host closed the connection]
mehlah has quit [Quit: Leaving...]
symm- has quit [Read error: Connection reset by peer]
symm- has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
loincloth has joined #ruby-lang
mehlah has joined #ruby-lang
mehlah has quit [Client Quit]
tylersmith has joined #ruby-lang
<yorickpeterse> matti: https://www.youtube.com/watch?v=E4aDjKh2GjU no idea what she's singing about, but it's quite neat
tylersmith has quit [Ping timeout: 255 seconds]
t_ has quit [Ping timeout: 264 seconds]
t_ has joined #ruby-lang
tbuehlmann has joined #ruby-lang
mykoweb has joined #ruby-lang
Cakey has joined #ruby-lang
ironhide_604 has quit [Ping timeout: 250 seconds]
t_ has quit [Ping timeout: 240 seconds]
t_ has joined #ruby-lang
Cakey has quit [Ping timeout: 240 seconds]
bronky has joined #ruby-lang
centrx has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 245 seconds]
saarinen has joined #ruby-lang
cmhobbs has quit [Quit: Leaving]
cmhobbs has joined #ruby-lang
jxie has quit [Ping timeout: 260 seconds]
hahuang65 has quit [Ping timeout: 255 seconds]
shinnya has quit [Ping timeout: 255 seconds]
jxie has joined #ruby-lang
Miphix has quit [Quit: Leaving]
mistym has joined #ruby-lang
apeiros has joined #ruby-lang
karamazov has quit [Remote host closed the connection]
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
<yorickpeterse> matti: https://www.youtube.com/watch?v=cpRte96sNRM and while we're at it
tylersmith has joined #ruby-lang
mehlah has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rippa has joined #ruby-lang
kiddorails has quit [Remote host closed the connection]
MikaAK has joined #ruby-lang
wallerdev has joined #ruby-lang
kiddorails has joined #ruby-lang
kiddorails has quit [Remote host closed the connection]
<matti> yorickpeterse: ;]
jaimef has quit [Excess Flood]
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby-lang
jaimef has joined #ruby-lang
kiddorails has joined #ruby-lang
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
flak has joined #ruby-lang
Scymex has joined #ruby-lang
mikecmpbll has quit [Ping timeout: 256 seconds]
scmx has quit [Ping timeout: 272 seconds]
kiddorails has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
rippa has quit [Ping timeout: 250 seconds]
knu has quit [Ping timeout: 250 seconds]
pixelhandler has joined #ruby-lang
knu has joined #ruby-lang
benlovell has quit [Ping timeout: 245 seconds]
momomomomo_ has joined #ruby-lang
kiddorails has joined #ruby-lang
momomomomo has quit [Ping timeout: 240 seconds]
momomomomo_ is now known as momomomomo
flak has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
mistym has quit [Remote host closed the connection]
rippa has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
kiddorails has quit [Remote host closed the connection]
banisterfiend has quit [Quit: Computer has gone to sleep.]
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby-lang
__butch__ has joined #ruby-lang
fullybaked has quit [Ping timeout: 264 seconds]
kek_ has joined #ruby-lang
kek has quit [Ping timeout: 250 seconds]
mikecmpbll has joined #ruby-lang
banisterfiend has joined #ruby-lang
kek_ has quit [Ping timeout: 255 seconds]
djbkd has joined #ruby-lang
<yorickpeterse> matti: ( ¯3¯)
vintik has joined #ruby-lang
workmad3 has quit [Ping timeout: 245 seconds]
wallerdev has joined #ruby-lang
toastynerd has joined #ruby-lang
arntempelgibbarn has joined #ruby-lang
toastynerd has quit [Ping timeout: 260 seconds]
ssam2 has quit [Quit: Leaving]
mistym has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
arBmind has quit [Quit: Leaving.]
hahuang65 has joined #ruby-lang
banisterfiend has quit [Quit: Computer has gone to sleep.]
arntempelgibbarn has quit [Ping timeout: 240 seconds]
gpg_ has quit [Quit: Page closed]
vintik has quit [Remote host closed the connection]
vintik has joined #ruby-lang
MikaAK has quit [Remote host closed the connection]
postmodern has joined #ruby-lang
MikaAK has joined #ruby-lang
Johz has joined #ruby-lang
yfeldblum has joined #ruby-lang
jgpawletko has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
rcvalle has joined #ruby-lang
x0f has quit [Ping timeout: 256 seconds]
arBmind has joined #ruby-lang
henrikhodne has joined #ruby-lang
x0f has joined #ruby-lang
bronky has quit [Quit: leaving]
momomomomo has quit [Ping timeout: 255 seconds]
momomomomo has joined #ruby-lang
<henrikhodne> I have a timestamp like "YYYY-MM-DD". Is there a way to get a Time (or a UNIX timestamp, which is what I eventually want) that represents midnight on the following day? I want something like Time.utc(year, month, day+1), but if day is 31, or whatever the last day of that month was, an "out of range" error happens.
<henrikhodne> I'd love to stick to the stdlib if possible.
<centrx> henrikhodne, ActiveSupport has methods like #tomorrow and #beginning_of_day. You can use that, or look at its source code.
<whitequark> >> require 'date'; Date.parse('2014-03-15').succ.to_time.to_i
<Mon_Robot> whitequark: => 1394928000 (https://eval.in:443/171468)
scmx has joined #ruby-lang
<drbrain> henrikhodne: require 'time'; Time.parse(timestamp).to_i
Scymex has quit [Ping timeout: 255 seconds]
<drbrain> ah, next day
<drbrain> whitequark's solution is clearest
saarinen has joined #ruby-lang
vintik has quit [Remote host closed the connection]
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
<henrikhodne> This is what I ended up with, since I need to use a specific timezone: TZInfo::Timezone.get("Europe/Berlin").local_to_utc(DateTime.iso8601("#{@to_date}T00:00:00+00:00").next_day.to_time.utc).local_to_utc(midnight_utc).to_i
mikecmpbll has quit [Quit: i've nodded off.]
<henrikhodne> I had to use DateTime since I couldn't figure out how to get Date#to_time to use midnight UTC instead of midnight local time.
<centrx> Time.now.tomorrow.beginning_of_day
solars has joined #ruby-lang
<henrikhodne> centrx: I'd rather not depend on ActiveSupport.
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
mykoweb has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby-lang
vintik has joined #ruby-lang
tdy has quit [Ping timeout: 260 seconds]
<Maitiu> FREE PALESTINE
<darix> headius: got "pp RbConfig::CONFIG" from a recent jruby for me by any chance?
JohnFord has joined #ruby-lang
<darix> thanks!
<darix> headius: that ruby_version 2.1 is that the ABI you aim for?
<darix> or is that jruby version 2.1?
Scymex has joined #ruby-lang
scmx has quit [Ping timeout: 260 seconds]
loincloth has joined #ruby-lang
duderonomy has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
charliesome has joined #ruby-lang
<headius> darix: that's JRuby master, which will be 2.1 or 2.2 compat when released
<headius> jruby 1.7.x targets 1.9.3 compat
<darix> headius: when you build jruby can you tell it to suffix all binaries? so gem applies the same suffix to all of its wrappers?
<headius> hmm, I don't think that's changeable at build time...I'm guessing you want them to be like "rake-jruby" or something?
<headius> that's a RubyGems config you can modify in lib/ruby/shared/rubygems/defaults/jruby.rb I think, but not at build time
mykoweb has joined #ruby-lang
Scymex has quit [Ping timeout: 272 seconds]
tbuehlmann has quit [Remote host closed the connection]
<darix> headius: well for my MRI builds i use --program-suffix="%{rb_binary_suffix}" ... and gem automatically picks up that suffix
tbuehlmann has joined #ruby-lang
scmx has joined #ruby-lang
<darix> headius: if possible i want to use something like .jruby1.7 .jruby1.8 and so on
<headius> darix: well we could certainly add something like that
<headius> build time for JRuby is not really the same as for MRI... most people just download an already-compiled binary
<darix> headius: yes. but i would control the jruby my rpms build against :)
<headius> perhaps you can open an issue describing how you do this for MRI and help us look into it for JRuby
<darix> headius: where?
<headius> darix: github/jruby/jruby
<darix> thanks
ledestin has quit [Ping timeout: 260 seconds]
JohnFord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Scymex has joined #ruby-lang
centrx has quit [Quit: Mead error: Connection reset by beer]
ledestin has joined #ruby-lang
scmx has quit [Ping timeout: 245 seconds]
tbuehlmann has quit [Quit: Leaving]
tdy has joined #ruby-lang
Fushi has quit [Quit: Connection closed for inactivity]
momomomomo has joined #ruby-lang
JohnFord has joined #ruby-lang
relix has joined #ruby-lang
existensil has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
jaimef has quit [Excess Flood]
heftig has joined #ruby-lang
jaimef has joined #ruby-lang
candidkilsborne has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
mistym has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
sarkyniin has quit [Ping timeout: 250 seconds]
momomomomo has quit [Quit: momomomomo]
benlovell has quit [Ping timeout: 272 seconds]
VTLob has quit [Quit: VTLob]
Atttwww has joined #ruby-lang
mistym has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
_ht has quit [Remote host closed the connection]
dwknoxy is now known as dknox-lunch
touzin has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
saarinen has quit [Quit: saarinen]
saarinen has joined #ruby-lang
mykoweb has quit [Ping timeout: 240 seconds]
wallerdev has joined #ruby-lang
bffff_ has quit [Quit: Connection closed for inactivity]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dknox-lunch is now known as dknox
miqui has quit [Remote host closed the connection]
centrx has joined #ruby-lang
mistym has quit [Remote host closed the connection]
touzin has quit [Ping timeout: 256 seconds]
diegoviola has joined #ruby-lang
fullybaked has joined #ruby-lang
mehlah has joined #ruby-lang
charliesome has joined #ruby-lang
elia has joined #ruby-lang
existensil has quit [Quit: WeeChat 0.4.2]
momomomomo has joined #ruby-lang
momomomomo has quit [Client Quit]
mistym has joined #ruby-lang
existensil has joined #ruby-lang
kyb3r_ has joined #ruby-lang
centrx has quit [Quit: Mead error: Connection reset by beer]
ur5us has joined #ruby-lang
seanosaur has quit [Remote host closed the connection]
loincloth has quit [Remote host closed the connection]
TvL2386 has quit [Remote host closed the connection]
loincloth has joined #ruby-lang
Kero has quit [Ping timeout: 256 seconds]
scmx has joined #ruby-lang
Scymex has quit [Ping timeout: 240 seconds]
Kero has joined #ruby-lang
Sigma00 has left #ruby-lang [#ruby-lang]
saarinen has quit [Quit: saarinen]
ldnunes has quit [Quit: Leaving]
fullybaked has quit []
saarinen has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
Kero has quit [Ping timeout: 240 seconds]
toastynerd has joined #ruby-lang
Kero has joined #ruby-lang
kyb3r_ has quit [Read error: Connection reset by peer]
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
toastynerd has quit [Remote host closed the connection]
kyb3r_ has joined #ruby-lang
tdy has quit [Remote host closed the connection]
lele has quit [Ping timeout: 256 seconds]
djbkd has quit [Remote host closed the connection]
stardiviner has joined #ruby-lang
Johz has quit [Quit: Leaving]
momomomomo has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
momomomomo has quit [Quit: momomomomo]
jgpawletko has quit [Quit: jgpawletko]
dangerousdave has quit [Ping timeout: 240 seconds]
sepp2k has joined #ruby-lang
sirene has quit [Ping timeout: 260 seconds]
sirene has joined #ruby-lang
shinnya has joined #ruby-lang
jaimef has quit [Excess Flood]
jaimef has joined #ruby-lang
scmx has quit [Ping timeout: 264 seconds]
solars has quit [Ping timeout: 245 seconds]
<charliesome> >> require "json"; puts JSON.dump("it" => "works")
<Mon_Robot> charliesome: => {"it":"works"}... (https://eval.in:443/171519)
<charliesome> ah cool
<charliesome> got that long time bug fixed
saarinen has quit [Quit: saarinen]
lele has joined #ruby-lang
saarinen has joined #ruby-lang
JohnFord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<drbrain> charliesome: woo!
<charliesome> turns out because I wasn't passing $HOME through to the jailed process, it was trying to look for .gem in /
<charliesome> >> ENV["HOME"]
<Mon_Robot> charliesome: => "/tmp/execpad-cff145098b07" (https://eval.in:443/171521)
postmodern has quit [Quit: Leaving]
postmodern has joined #ruby-lang
cmhobbs has quit [Remote host closed the connection]
fullybaked has joined #ruby-lang
banisterfiend has joined #ruby-lang
banister has quit [Read error: Connection reset by peer]
banister has joined #ruby-lang
djbkd has joined #ruby-lang
tdy has joined #ruby-lang
AKASkip has quit [Ping timeout: 245 seconds]
marr has quit [Ping timeout: 245 seconds]
loincloth has quit [Remote host closed the connection]
sMecKs has joined #ruby-lang
toastynerd has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
elia has quit [Quit: Computer has gone to sleep.]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby-lang
jlovick has quit [Ping timeout: 272 seconds]
candidkilsborne has quit [Remote host closed the connection]
xybre has quit [Quit: dist upgrade, brb]
blurredbits has quit [Quit: ZZZzzz…]
xybre has joined #ruby-lang
jaimef has quit [Excess Flood]
elia has joined #ruby-lang
Davi_____ has joined #ruby-lang
<Davi_____> Noob question best way to check if string is nil or empty?
<apeiros> ensure it's never nil and only do .empty?
<apeiros> else: !string || string.empty?
<Davi_____> ok cool
<Davi_____> ta
candidkilsborne has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
abhi_rsd has joined #ruby-lang
toastynerd has joined #ruby-lang
Sirupsen has joined #ruby-lang
<zenspider> mixing nils w/ real values is usually a bad thing.
jaimef has joined #ruby-lang
<zenspider> var = calculate_thingy || "Dunno" -- usually as close as I get to mixing
toastynerd has quit [Ping timeout: 255 seconds]
Sgeo has joined #ruby-lang
kalehv has joined #ruby-lang
AccidentallyLike has joined #ruby-lang
<apeiros> zenspider: I'd love if nil-able variables would require declaration
<apeiros> or at least I'd love to experiment with that
<apeiros> but along with that I'd also want an easily passable default. e.g. via a new keyword. def foo(x="hi"); x; end; foo(default) #=> "hi"
toastynerd has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
<charliesome> apeiros: yo
toastynerd has joined #ruby-lang
<charliesome> i have the real eval-in bot ready to go in an empty channel, do you/mon_ouie still want to run the other one?
banisterfiend has quit [Quit: Computer has gone to sleep.]
<charliesome> because i can just run this one on one of the existing eval.in boxes and you get to save $5
<zenspider> apeiros: if you want to experiment with that, check out swift's "Optional" type. it basically switches it from a stack var to a pointer
<apeiros> charliesome: doesn't matter to me. I understood Mon_Ouie that he was running the bot but didn't have a server, so I donated one
<charliesome> ah ok, well i'll wait until mon_ouie comes on
<apeiros> charliesome: kk. just tell me when you know whether you still need the instance.
<apeiros> zenspider: I'm not interested in swift as it's not open source. really sad about that :-/
<apeiros> zenspider: I will read up on a couple of its concepts, though
Cakey has joined #ruby-lang
toastynerd has quit [Ping timeout: 245 seconds]
<zenspider> I like the idea of it.... if not the impl
elia has quit [Quit: Computer has gone to sleep.]
Cakey has quit [Ping timeout: 272 seconds]
<apeiros> the `default` keyword, or swifts Optional type?
banisterfiend has joined #ruby-lang
Cakey has joined #ruby-lang
duderonomy has joined #ruby-lang
jaimef has quit [Excess Flood]
fenicks has joined #ruby-lang
jaimef has joined #ruby-lang
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banisterfiend has quit [Quit: Computer has gone to sleep.]
AccidentallyLike has quit [Quit: Lost terminal]
banisterfiend has joined #ruby-lang
fullybaked has quit []
mikecmpbll has quit [Quit: i've nodded off.]
vintik has quit [Remote host closed the connection]
kalehv has quit [Remote host closed the connection]
kalehv has joined #ruby-lang
seanosaur has joined #ruby-lang
<zenspider> apeiros: swift
kalehv_ has joined #ruby-lang
Davi_____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JEG2 has joined #ruby-lang
kalehv has quit [Ping timeout: 240 seconds]
abhi_rsd has quit [Remote host closed the connection]
Cakey has quit [Ping timeout: 264 seconds]
David___ has joined #ruby-lang
David___ has quit [Client Quit]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
David___ has joined #ruby-lang
rcvalle has quit [Quit: rcvalle]