jhass changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
jetpack_joe has quit [Ping timeout: 252 seconds]
RegulationD has quit [Ping timeout: 240 seconds]
macsteps has joined #ruby
Snowy has quit [Read error: Connection reset by peer]
ishahnaz has quit []
Snowy has joined #ruby
__void has quit [Ping timeout: 276 seconds]
rcvalle has quit [Quit: rcvalle]
__void has joined #ruby
flashpoint9 has joined #ruby
Snowy has quit [Remote host closed the connection]
daffy_duck has quit [Remote host closed the connection]
AnoHito_ has quit [Quit: Leaving]
knrz has joined #ruby
daffy_duck has joined #ruby
AnoHito has joined #ruby
ecnalyr has quit [Remote host closed the connection]
pawnbox has joined #ruby
yardenbar has quit [Ping timeout: 264 seconds]
ecnalyr has joined #ruby
al2o3-cr has joined #ruby
Salve has quit [Remote host closed the connection]
Pupeno has quit [Remote host closed the connection]
Salve has joined #ruby
AndyBotwin has quit [Ping timeout: 260 seconds]
QORRiE has quit [Quit: Leaving]
pawnbox has quit [Ping timeout: 258 seconds]
ecnalyr has quit [Ping timeout: 276 seconds]
Salve has quit [Ping timeout: 260 seconds]
AndrewIsHere has quit []
nickjj_ has quit [Ping timeout: 252 seconds]
replay has quit []
Pupeno has joined #ruby
Pupeno has joined #ruby
Pupeno has quit [Changing host]
yardenbar has joined #ruby
roamingdog has joined #ruby
knrz has quit [Quit: Textual IRC Client: www.textualapp.com]
byteflame has joined #ruby
soLucien has joined #ruby
Silthias has quit [Ping timeout: 244 seconds]
<soLucien> what's the synthax for "iterate through array if array not empty"
<Zarthus> the same as iterating through an array if it weren't
<Zarthus> looping over an empty array just means there will be zero iterations
<Zarthus> regardless, Array#empty? and Array#length or Array#size may help out here.
juju_ has joined #ruby
giz|work has quit [Ping timeout: 240 seconds]
<soLucien> [1].any? do |val|
<soLucien> puts val
<soLucien> end
jenrzzz has quit [Ping timeout: 260 seconds]
<Zarthus> that's not iterating through an array in particular
<Zarthus> that's just getting an item
<soLucien> the array is [1] in this case
<Zarthus> (and that assumes #any? exists, which presumably returns a boolean)
<Zarthus> You want #each
<soLucien> it may be [1,2]
vimou has joined #ruby
<soLucien> Zarthus i want to do something if the array is not empty , then iterate
nankyokusei has joined #ruby
<Zarthus> Well, which parts of my comment(s) did you not understand?
<soLucien> as in : if array is not empty , write ## BEGIN ARRAY
juju_ has quit [Client Quit]
<soLucien> then write the values in the array
<soLucien> otherwise, don't write anything
<soLucien> should i simply add that in an if clause?
<Zarthus> I don't see why Array#length can't help you here
<postmodern> is there a way to test sidekiq using something like mock_redis? i want to simulate jobs staying in the queue
ekinmur has joined #ruby
<soLucien> ok .. so if array.length > 0
chouhoulis has joined #ruby
ekinmur has quit [Client Quit]
<soLucien> array.each |val|
<Zarthus> no, you don't need to do that
<Zarthus> >> s=""; [1,2,3].each { |v| s << v; }; s
<ruby[bot]> Zarthus: # => "\u0001\u0002\u0003" (https://eval.in/614162)
<Zarthus> if there's nothing in your array, it will iterate zero times.
<soLucien> i get that
EDT is now known as |EDT|
<soLucien> but what i need is if length >0 s="we have an array"
<soLucien> that is the initial string
<soLucien> before doing the iteration
<Zarthus> don't need an if check for that
|EDT| is now known as [EDT]
[EDT] is now known as EDT
nankyokusei has quit [Ping timeout: 276 seconds]
<soLucien> ok .. what do i need ?
chouhoul_ has joined #ruby
byteflame has quit [Ping timeout: 260 seconds]
<soLucien> cool .. that's what i thaught as well
cyphase has quit [Ping timeout: 240 seconds]
<soLucien> will ? convert something to a boolean ?
ekinmur has joined #ruby
<Zarthus> yes and no, it's easier if you assume methods ending in ? will return a boolean
__void has quit [Ping timeout: 276 seconds]
roamingdog has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 265 seconds]
vimou has quit [Quit: vimou]
chouhoul_ has quit [Remote host closed the connection]
pawnbox has joined #ruby
cyphase has joined #ruby
<al2o3-cr> o/
roamingdog has joined #ruby
biberu has quit [Read error: Connection reset by peer]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Spami has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
<al2o3-cr> \o
rubie has quit [Remote host closed the connection]
LoneHermit has joined #ruby
LoneHermit has quit [Remote host closed the connection]
flashpoint9 has quit [Remote host closed the connection]
LoneHermit has joined #ruby
flashpoint9 has joined #ruby
rubie_ has joined #ruby
jenrzzz has joined #ruby
<al2o3-cr> nobody can comprehend ruby until dominos
macsteps has quit [Remote host closed the connection]
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
flashpoint9 has quit [Ping timeout: 250 seconds]
SCHAAP137 has quit [Quit: Exiting...]
Gasher has quit [Quit: Leaving]
Azure has joined #ruby
JesseH has joined #ruby
hwcomcn has joined #ruby
Mattx has joined #ruby
matcouto has joined #ruby
<Mattx> How do I run jruby once it's installed through rvm if I don't want to make it the default ruby interpreter? I just want to execute a file every now and then
<Mattx> I can do "rvm jruby" and then "ruby file.rb". but then I have to always run "rvm use ruby"
<Mattx> and actually, I need to use both at the same time sometimes
giz|work has joined #ruby
SilverKey has joined #ruby
pawnbox has joined #ruby
flashpoint9 has joined #ruby
marr has quit [Ping timeout: 250 seconds]
flashpoint9 has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
Silthias has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
pawnbox has quit [Ping timeout: 264 seconds]
agent_white has quit [Quit: leaving]
roamingdog has quit []
xall has quit [Ping timeout: 276 seconds]
rubie_ has quit [Remote host closed the connection]
hannelita has joined #ruby
giz|work has quit [Ping timeout: 260 seconds]
byteflame has joined #ruby
Rodya_ has joined #ruby
<al2o3-cr> real good
xall has joined #ruby
braincra- has joined #ruby
symm- has quit [Ping timeout: 240 seconds]
SilverKey has quit [Quit: Halted.]
flashpoint9 has quit [Remote host closed the connection]
workmad3 has joined #ruby
hannelita has quit []
braincrash has quit [Ping timeout: 265 seconds]
Rodya_ has quit [Ping timeout: 260 seconds]
xall has quit [Ping timeout: 276 seconds]
<al2o3-cr> fucking brilliaant
Guest57195 has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 276 seconds]
bmurt has joined #ruby
rubie has joined #ruby
workmad3 has quit [Ping timeout: 250 seconds]
tomchapin has joined #ruby
<al2o3-cr> 6/4 idle
xall has joined #ruby
Guest57195 has joined #ruby
<al2o3-cr> should've never of merged
LoneHermit has quit [Remote host closed the connection]
giz|work has joined #ruby
saneax is now known as saneax_AFK
tristanp has joined #ruby
xall has quit [Ping timeout: 260 seconds]
nando293921 has joined #ruby
maloik has quit [Remote host closed the connection]
Sucks has joined #ruby
maloik has joined #ruby
tristanp has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
byteflame has quit [Ping timeout: 260 seconds]
dmmoody has joined #ruby
brianpWins has joined #ruby
pawnbox has quit [Ping timeout: 264 seconds]
dmmoody has quit [Ping timeout: 264 seconds]
Devalo has joined #ruby
RegulationD has joined #ruby
tomchapin has quit [Read error: Connection reset by peer]
diegoviola has quit [Quit: WeeChat 1.5]
ensyde has quit [Ping timeout: 264 seconds]
der-landgraf has quit [Ping timeout: 276 seconds]
tomchapin has joined #ruby
Devalo has quit [Ping timeout: 260 seconds]
hahuang61 has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
tomchapin has quit [Read error: Connection reset by peer]
spudowiar has quit [Quit: Leaving.]
ElFerna has joined #ruby
KCmetro has quit [Remote host closed the connection]
Contigi has quit [Quit: Leaving]
hahuang61 has quit [Ping timeout: 260 seconds]
rubie has quit [Remote host closed the connection]
tomchapin has joined #ruby
xall has joined #ruby
KCmetro has joined #ruby
Derperperd has quit [Quit: Derperperd]
matcouto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ensyde has joined #ruby
giz|work has quit [Ping timeout: 240 seconds]
der-landgraf has joined #ruby
KCmetro has quit [Ping timeout: 250 seconds]
EDT has quit [Changing host]
EDT has joined #ruby
cyphase has quit [Ping timeout: 260 seconds]
yardenbar has quit [Ping timeout: 250 seconds]
xall has quit [Ping timeout: 260 seconds]
cyphase has joined #ruby
Niham has joined #ruby
nettoweb has joined #ruby
Niham has quit [Client Quit]
fear0fmusic has quit []
bmurt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xall has joined #ruby
tomchapin has quit [Read error: Connection reset by peer]
ensyde has quit [Ping timeout: 258 seconds]
Pupeno has quit [Quit: Leaving...]
giz|work has joined #ruby
ElFerna has quit [Ping timeout: 252 seconds]
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kreantos has joined #ruby
flashpoint9 has joined #ruby
Eiam has quit [Ping timeout: 244 seconds]
flashpoint9 has quit [Ping timeout: 258 seconds]
nankyokusei has joined #ruby
giz|work has quit [Ping timeout: 276 seconds]
Silthias has quit [Ping timeout: 260 seconds]
kreantos has quit [Ping timeout: 258 seconds]
nankyokusei has quit [Ping timeout: 240 seconds]
xall has quit [Ping timeout: 244 seconds]
seap has quit [Quit: WeeChat 1.5]
Sucks has quit [Quit: Leaving]
cyphase has quit [Ping timeout: 244 seconds]
Tempesta has quit [Quit: See ya!]
xall has joined #ruby
arlek has joined #ruby
RegulationD has joined #ruby
symm- has joined #ruby
rubie has joined #ruby
jaguarmagenta has joined #ruby
cyphase has joined #ruby
arlek_ has joined #ruby
tomchapin has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
xall has quit [Ping timeout: 240 seconds]
RegulationD has quit [Ping timeout: 260 seconds]
jaguarmagenta has quit [Ping timeout: 264 seconds]
swills has joined #ruby
gix has quit [Ping timeout: 264 seconds]
ur5us has joined #ruby
arlek has quit [Ping timeout: 244 seconds]
pawnbox has joined #ruby
braincra- has quit [Quit: bye bye]
ur5us has quit [Read error: No route to host]
ur5us_ has joined #ruby
gix has joined #ruby
matcouto has joined #ruby
sleepee has quit [Ping timeout: 250 seconds]
symm- has quit [Ping timeout: 260 seconds]
pawnbox has quit [Ping timeout: 244 seconds]
arlek_ is now known as arlek
arlek has quit [Quit: Leaving]
arlek has joined #ruby
braincrash has joined #ruby
xall has joined #ruby
matcouto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rodya_ has joined #ruby
daivyk has quit [Quit: Quit]
k3rn31 has joined #ruby
rubie has quit [Remote host closed the connection]
tomchapin has quit [Read error: Connection reset by peer]
Rickmasta has quit [Quit: Textual IRC Client: www.textualapp.com]
xall has quit [Ping timeout: 276 seconds]
Rodya_ has quit [Ping timeout: 252 seconds]
Dimik has joined #ruby
Rickmasta has joined #ruby
zipace has quit [Quit: Leaving]
tomchapin has joined #ruby
A5101_ has joined #ruby
tomchapin has quit [Ping timeout: 276 seconds]
k3rn31 has quit [Ping timeout: 276 seconds]
hk238 has joined #ruby
arescorpio has joined #ruby
arlek has quit [Read error: Connection reset by peer]
nettoweb has joined #ruby
creaked has quit [Ping timeout: 265 seconds]
c355e3b has quit [Quit: Connection closed for inactivity]
WhatsGoingOn has quit [Remote host closed the connection]
nettoweb has quit [Client Quit]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest57195 has quit [Ping timeout: 260 seconds]
Mattx has quit [Quit: Leaving]
arescorpio has quit [Ping timeout: 244 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
benlieb has joined #ruby
JimK12 has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
bttf is now known as george_mcfly
SilverKey has joined #ruby
benlieb has quit [Quit: benlieb]
rubie has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Silthias has joined #ruby
JimK12 has left #ruby ["WeeChat 1.5"]
qguv has quit [Quit: bye]
benlieb has joined #ruby
pawnbox has joined #ruby
qguv has joined #ruby
gix has quit [Ping timeout: 276 seconds]
Rickmasta has joined #ruby
nando293921 has quit [Ping timeout: 244 seconds]
jaguarmagenta has joined #ruby
hahuang61 has joined #ruby
sagax has quit [Ping timeout: 260 seconds]
Derperperd has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
gix has joined #ruby
Silthias has quit [Ping timeout: 244 seconds]
Sid12305 has joined #ruby
hahuang61 has quit [Ping timeout: 258 seconds]
matp has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benlieb has quit [Quit: benlieb]
The_Phoenix has joined #ruby
yeticry has quit [Remote host closed the connection]
M4dH4TT3r has joined #ruby
yeticry has joined #ruby
kentnl has quit [Ping timeout: 250 seconds]
M4dH4TT3r is now known as Guest34914
tjohnson has quit [Quit: Connection closed for inactivity]
ensyde has joined #ruby
Rodya_ has joined #ruby
ensyde has quit [Ping timeout: 258 seconds]
A5101_ has quit [Ping timeout: 276 seconds]
Rodya_ has quit [Ping timeout: 260 seconds]
<al2o3-cr> morning stars
rubie has quit [Remote host closed the connection]
Sid12305 has quit [Ping timeout: 250 seconds]
sdwrage has joined #ruby
jetpack_joe has joined #ruby
flashpoint9 has joined #ruby
brianpWins has quit [Ping timeout: 260 seconds]
mostlybadfly has joined #ruby
faces has quit [Ping timeout: 244 seconds]
Sucks has joined #ruby
flashpoint9 has quit [Ping timeout: 250 seconds]
nankyokusei has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
duncannz has quit [Remote host closed the connection]
pawnbox has joined #ruby
creaked has joined #ruby
djbkd has quit [Ping timeout: 240 seconds]
elifoster has quit [Quit: going to bed]
george_mcfly has quit []
pawnbox has quit [Ping timeout: 240 seconds]
RegulationD has joined #ruby
chouhoulis has joined #ruby
hahuang61 has joined #ruby
cibs has quit [Ping timeout: 240 seconds]
RegulationD has quit [Ping timeout: 252 seconds]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
cibs has joined #ruby
ecnalyr has joined #ruby
hahuang61 has quit [Ping timeout: 264 seconds]
dmmoody has joined #ruby
shinnya has quit [Ping timeout: 244 seconds]
shum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
Sucks has quit [Quit: Leaving]
Derperperd has quit [Remote host closed the connection]
Derperperd has joined #ruby
Devalo has joined #ruby
ecnalyr has quit [Ping timeout: 276 seconds]
dmmoody has quit [Ping timeout: 244 seconds]
Hyuk has joined #ruby
Silthias has joined #ruby
aupadhye has joined #ruby
soLucien has quit [Read error: Connection reset by peer]
creaked has quit [Ping timeout: 260 seconds]
Devalo has quit [Ping timeout: 260 seconds]
giz|work has joined #ruby
MarkBilk has quit [Ping timeout: 250 seconds]
djbkd has joined #ruby
jackjackdripper has joined #ruby
pawnbox has joined #ruby
dionysus69 has joined #ruby
l4v2 has quit [Quit: l4v2]
pawnbox has quit [Ping timeout: 265 seconds]
yfeldblum has quit [Remote host closed the connection]
der-landgraf has quit [Quit: WeeChat 1.5]
der-landgraf has joined #ruby
der-landgraf has quit [Changing host]
der-landgraf has joined #ruby
flashpoint9 has joined #ruby
OKpuppet has joined #ruby
skade has joined #ruby
nofxx has quit [Ping timeout: 260 seconds]
nofxx has joined #ruby
nofxx has joined #ruby
nofxx has quit [Changing host]
chosen1x has joined #ruby
araujo_ has joined #ruby
flashpoint9 has quit [Ping timeout: 250 seconds]
bluOxigen has quit [Ping timeout: 258 seconds]
bluOxigen has joined #ruby
araujo has quit [Ping timeout: 244 seconds]
chosen1_ has quit [Ping timeout: 258 seconds]
VA3VNA has joined #ruby
dionysus69 has quit [Ping timeout: 252 seconds]
ec0 has quit [Ping timeout: 258 seconds]
OKpuppet has quit [Quit: Leaving]
Puppet has joined #ruby
cyphase has quit [Ping timeout: 264 seconds]
hahuang61 has joined #ruby
ry4nn has quit [Ping timeout: 276 seconds]
skade has quit [Quit: Computer has gone to sleep.]
cyphase has joined #ruby
killerkamel has quit [Ping timeout: 264 seconds]
hahuang61 has quit [Ping timeout: 250 seconds]
djbkd has quit [Remote host closed the connection]
Puppet has quit [Quit: Leaving]
Silthias has quit [Ping timeout: 244 seconds]
chosen1_ has joined #ruby
lucas_ai has joined #ruby
Guest34914 has quit [Ping timeout: 240 seconds]
jaguarmagenta has quit [Remote host closed the connection]
pickandmix has quit [Ping timeout: 240 seconds]
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
lxsameer has joined #ruby
Silthias has joined #ruby
chosen1x has quit [Ping timeout: 258 seconds]
valkyr1e has quit [Ping timeout: 252 seconds]
Guest34914 has joined #ruby
yardenbar has joined #ruby
ec0 has joined #ruby
spider-mario has joined #ruby
harfangk has joined #ruby
valkyr1e has joined #ruby
pawnbox has joined #ruby
lucas_ai has quit [Remote host closed the connection]
benlieb has joined #ruby
chosen1x has joined #ruby
byteflame has joined #ruby
hwcomcn has quit [Ping timeout: 250 seconds]
harfangk has quit [Read error: Connection reset by peer]
ec0 has quit [Ping timeout: 250 seconds]
chosen1_ has quit [Ping timeout: 258 seconds]
pawnbox has quit [Ping timeout: 260 seconds]
byteflame has quit [Ping timeout: 244 seconds]
lucas_ai has joined #ruby
shynoob has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
jetpack_joe has quit [Ping timeout: 258 seconds]
tmtwd has quit [Ping timeout: 240 seconds]
shynoob has quit [Client Quit]
killerkamel has joined #ruby
c0mrad3 has joined #ruby
Guest34914 has quit [Read error: Connection reset by peer]
Guest34914 has joined #ruby
rippa has joined #ruby
killerkamel has quit [Ping timeout: 264 seconds]
Silthias has quit [Ping timeout: 244 seconds]
nankyokusei has joined #ruby
jaguarmagenta has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
yfeldblum has joined #ruby
nankyokusei has quit [Ping timeout: 264 seconds]
sleepee has joined #ruby
yfeldblum has quit [Remote host closed the connection]
Silthias has joined #ruby
Ishido has joined #ruby
yfeldblum has joined #ruby
syndikate has joined #ruby
dionysus69 has joined #ruby
ryan has joined #ruby
ryan is now known as Guest28131
<syndikate> Can somebody please help me understand this enemurable method chunk and the usage of p in it? http://ruby-doc.org/core-2.3.1/Enumerable.html#method-i-chunk
mertbulan has joined #ruby
mertbulan has left #ruby [#ruby]
zapata has quit [Ping timeout: 250 seconds]
RegulationD has joined #ruby
hk238 has quit [Ping timeout: 260 seconds]
yeticry has quit [Read error: Connection reset by peer]
hk238 has joined #ruby
hk238 has quit [Client Quit]
tubuliferous has quit [Ping timeout: 244 seconds]
shinnya has joined #ruby
MarkBilk has joined #ruby
tmtwd has joined #ruby
lucas_ai has quit [Quit: Leaving]
hk238 has joined #ruby
hahuang61 has joined #ruby
RegulationD has quit [Ping timeout: 276 seconds]
yeticry has joined #ruby
daffy_duck_2 has joined #ruby
daffy_duck has quit [Ping timeout: 258 seconds]
dmmoody has joined #ruby
hahuang61 has quit [Ping timeout: 258 seconds]
pawnbox has joined #ruby
latemus has joined #ruby
Devalo has joined #ruby
dmmoody has quit [Ping timeout: 258 seconds]
creaked has joined #ruby
zapata has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
creaked has quit [Ping timeout: 250 seconds]
Devalo has quit [Ping timeout: 276 seconds]
jenrzzz has joined #ruby
saneax_AFK is now known as saneax
Silthias has quit [Ping timeout: 244 seconds]
firstdayonthejob has joined #ruby
minimalism has quit [Quit: minimalism]
binaryplease1 has joined #ruby
ec0 has joined #ruby
binaryplease has quit [Ping timeout: 244 seconds]
flashpoint9 has joined #ruby
saneax is now known as saneax_AFK
killerkamel has joined #ruby
flashpoint9 has quit [Ping timeout: 250 seconds]
benlieb has quit [Quit: benlieb]
benlieb has joined #ruby
benlieb has quit [Client Quit]
benlieb has joined #ruby
skweek has quit [Quit: Leaving]
benlieb has quit [Client Quit]
binaryplease1 is now known as binaryplease
benlieb has joined #ruby
benlieb has quit [Client Quit]
skweek has joined #ruby
Silthias has joined #ruby
killerkamel has quit [Ping timeout: 276 seconds]
saneax_AFK is now known as saneax
tubuliferous has joined #ruby
Pumukel has joined #ruby
pawnbox has joined #ruby
marr has joined #ruby
benlieb has joined #ruby
hipertracker has joined #ruby
Dimik has quit [Ping timeout: 260 seconds]
ec0 has quit [Ping timeout: 258 seconds]
Xeago has quit [Ping timeout: 244 seconds]
hahuang61 has joined #ruby
Silthias1 has joined #ruby
Xeago has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
Silthias has quit [Ping timeout: 244 seconds]
p0p0pr37 has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
shinnya has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
saneax is now known as saneax_AFK
Cohedrin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tmtwd has quit [Ping timeout: 276 seconds]
Snowy has joined #ruby
Silthias1 has quit [Ping timeout: 244 seconds]
tubuliferous has quit [Ping timeout: 265 seconds]
Snowy has quit [Remote host closed the connection]
kent\n has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
jetpack_joe has joined #ruby
jetpack_joe has quit [Ping timeout: 276 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
bkxd has joined #ruby
sepp2k has joined #ruby
Snowy has joined #ruby
ecnalyr has joined #ruby
killerkamel has joined #ruby
nankyokusei has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
ecnalyr has quit [Ping timeout: 244 seconds]
duncannz has joined #ruby
giz|work has quit [Ping timeout: 258 seconds]
dennisvennink has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jaguarmagenta has joined #ruby
nankyokusei has quit [Ping timeout: 264 seconds]
<Mon_Ouie> p obj is a shortcut for puts obj.inspect
LoneHerm_ has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
jaguarmagenta has quit [Ping timeout: 250 seconds]
<Mon_Ouie> Enumerable#chunk groups into an array consecutive items for which the block you passed to it return the same value
miqlas-H has joined #ruby
hipertracker has quit [Quit: hipertracker]
jenrzzz has joined #ruby
yfeldblum has quit [Remote host closed the connection]
hipertracker has joined #ruby
benlieb has quit [Quit: benlieb]
benlieb has joined #ruby
benlieb has quit [Client Quit]
RegulationD has joined #ruby
benlieb has joined #ruby
dennisvennink has joined #ruby
dhollinger has quit [Ping timeout: 250 seconds]
RegulationD has quit [Ping timeout: 250 seconds]
hahuang61 has joined #ruby
Cohedrin has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
dmmoody has joined #ruby
Contigi has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
nso95 has joined #ruby
Contigi has quit [Remote host closed the connection]
dmmoody has quit [Ping timeout: 244 seconds]
benlieb has quit [Quit: benlieb]
tubuliferous has joined #ruby
duncannz has quit [Remote host closed the connection]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nso95 has left #ruby ["Leaving"]
tubuliferous has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
symm- has joined #ruby
Devalo has joined #ruby
pandaant has joined #ruby
dhollinger has joined #ruby
jenrzzz has joined #ruby
Guest34914 has quit [Ping timeout: 258 seconds]
howdoi has joined #ruby
lele has quit [Ping timeout: 260 seconds]
postmodern has quit [Quit: Leaving]
lele has joined #ruby
Guest34914 has joined #ruby
Snowy has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 244 seconds]
yfeldblum has joined #ruby
flashpoint9 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Derperperd has quit [Quit: Derperperd]
flashpoint9 has quit [Ping timeout: 250 seconds]
bluOxigen has quit [Ping timeout: 265 seconds]
toretore has joined #ruby
karapetyan has joined #ruby
killerkamel has quit [Ping timeout: 240 seconds]
pickandmix has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
Guest34914 has quit [Read error: Connection reset by peer]
Xentil has joined #ruby
SCHAAP137_ has joined #ruby
killerkamel has joined #ruby
Guest34914 has joined #ruby
tobiasvl has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
sdwrage has quit [Quit: This computer has gone to sleep]
pawnbox has joined #ruby
hipertracker has quit [Quit: hipertracker]
Silthias has joined #ruby
hahuang61 has joined #ruby
latemus has left #ruby [#ruby]
der-land1 has joined #ruby
karapetyan has quit [Remote host closed the connection]
der-landgraf has quit [Ping timeout: 260 seconds]
karapetyan has joined #ruby
lxsameer has quit [Ping timeout: 252 seconds]
hahuang61 has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
skweek has quit [Ping timeout: 250 seconds]
karapetyan has quit [Ping timeout: 276 seconds]
Silthias1 has joined #ruby
Silthias has quit [Ping timeout: 252 seconds]
millerti has joined #ruby
vindur has joined #ruby
griffindy has joined #ruby
kirun has joined #ruby
nofxx has quit [Ping timeout: 258 seconds]
Pupeno has joined #ruby
karapetyan has joined #ruby
vindur has quit [Quit: Textual IRC Client: www.textualapp.com]
Mia has joined #ruby
karapetyan has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
Pupeno has quit [Quit: Leaving...]
Jackneill_ has joined #ruby
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
nankyokusei has joined #ruby
flashpoint9 has quit [Ping timeout: 250 seconds]
jaguarmagenta has joined #ruby
nankyokusei has quit [Ping timeout: 250 seconds]
bioz has joined #ruby
rippa has quit [Read error: Connection reset by peer]
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
jaguarmagenta has quit [Ping timeout: 250 seconds]
rippa has joined #ruby
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
benlieb has joined #ruby
karapetyan has joined #ruby
RegulationD has joined #ruby
kith has quit [Read error: Connection reset by peer]
kith has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
Cork has quit [Quit: .]
hahuang61 has joined #ruby
ur5us_ has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 250 seconds]
Emmanuel_Chanel has quit [Ping timeout: 260 seconds]
ur5us has joined #ruby
spectrum has joined #ruby
sdothum has joined #ruby
Cork has joined #ruby
Silthias1 has quit [Ping timeout: 244 seconds]
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
ur5us has quit [Ping timeout: 260 seconds]
c355e3b has joined #ruby
bioz has quit [Ping timeout: 252 seconds]
aleskandro has joined #ruby
<aleskandro> Hi all, i developed a recursive function def recursive_search(some_args, hash_arg)
hanmac has quit [Ping timeout: 250 seconds]
<aleskandro> when I recall the recursive_search inside it and edit the hash_arg it comes edited also in the caller function, as if the hash_arg is passed by reference
<aleskandro> hash_arg is a hash
tubuliferous has joined #ruby
<aleskandro> how can I solve this?
SCHAAP137_ has quit [Quit: Leaving]
SCHAAP137 has joined #ruby
SCHAAP137 has quit [Changing host]
SCHAAP137 has joined #ruby
ec0 has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tubuliferous has quit [Ping timeout: 258 seconds]
dionysus69 has quit [Ping timeout: 244 seconds]
<ruby[bot]> aleskandro: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/1a2b16cf1149bfaadb9b0a202e71b9a6
<ruby[bot]> aleskandro: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
ec0 has quit [Ping timeout: 258 seconds]
saneax_AFK is now known as saneax
LoneHerm_ has quit [Remote host closed the connection]
last_staff has joined #ruby
karapetyan has quit [Remote host closed the connection]
lxsameer has joined #ruby
Asher has quit [Quit: Leaving.]
hanmac has joined #ruby
benlieb has quit [Quit: benlieb]
Silthias has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
rubie has joined #ruby
nanoz has joined #ruby
Emmanuel_Chanel has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
hahuang61 has joined #ruby
saneax is now known as saneax_AFK
hahuang61 has quit [Ping timeout: 250 seconds]
leitz has joined #ruby
<ule> Hi there
<ule> I need to order a hash according with an another hash
<ule> for example:
<ule> correct_order = [a, b, c, d]
<ule> and my hash I have some like this:
<ule> my_hash = {foo=>bar, size=>{c=>1, d=>6, a=>4, b=>8 } }
ecnalyr has joined #ruby
Chair has joined #ruby
tubuliferous has joined #ruby
ecnalyr has quit [Ping timeout: 258 seconds]
chouhoulis has quit [Remote host closed the connection]
Asher has joined #ruby
tubuliferous has quit [Ping timeout: 258 seconds]
Chair has quit [Ping timeout: 240 seconds]
<Mon_Ouie> aleskandro: Yes, you always pass a reference to objects in Ruby. You can Copy the hash before you pass it by calling #dup. You can also copy it inside the method right before you modify it (tj = start_tj.dup).
benlieb has joined #ruby
<Mon_Ouie> ule: Hashes preserve insertion order, so you could rebuild the hash by iterating over correct_order and inserting key/value pairs into a new hash.
codeandcoffee_ has joined #ruby
<ule> Mon_Ouie: that's what I'm doing here.. I'm almost finishing and then I'll paste the code here so you guys can give me some tips if it's possible to improve the code
Cork has quit [Quit: .]
rubie has quit [Remote host closed the connection]
araujo_ has quit [Quit: Leaving]
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
MarkBilk has quit [Ping timeout: 250 seconds]
Cork has joined #ruby
flashpoint9 has joined #ruby
LoneHermit has joined #ruby
nankyokusei has joined #ruby
flashpoint9 has quit [Ping timeout: 250 seconds]
<leitz> Design question. The program loads Module M and makes an Object of Class O. Program then loads one of Modules 1, 2, or 3 to do stuff to Object. Modules 1, 2, and 3 have similar Methods but use different Module attributes internally.
<leitz> Is there a better way to write 1, 2, and 3 than to duplicate method code manually?
jaguarmagenta has joined #ruby
LoneHermit has quit [Ping timeout: 244 seconds]
nankyokusei has quit [Ping timeout: 250 seconds]
tk_ has joined #ruby
face has joined #ruby
jaguarmagenta has quit [Ping timeout: 258 seconds]
aupadhye has quit [Quit: Leaving]
nofxx has joined #ruby
GabeTomaz has joined #ruby
RegulationD has joined #ruby
<Papierkorb> leitz: You mean a ruby Module, right?
g6egh8hjh has joined #ruby
hipertracker has joined #ruby
<toretore> leitz: it's much easier to help if you can show some actual code
<leitz> Papierkorb, sort of. Module M loads one of Module 1, 2, or 3. The main method, "run_career" is currently in 1, 2, and 3. It calls specific methods in those modules, but putting "run_career" in Module M seems to be very tight coupling.
RegulationD has quit [Ping timeout: 258 seconds]
<leitz> These two modules should be mostly the same in "run_career". https://github.com/LeamHall/CT_Character_Generator/blob/master/lib/Noble.rb
<Papierkorb> leitz: You can totally share code between models too by having another module with that code, and then include that other module in the 'interested' modules
hfp_work has quit [Ping timeout: 250 seconds]
hfp has quit [Ping timeout: 244 seconds]
hahuang61 has joined #ruby
<leitz> the program Chargen.rb requires module CharacterTools.rb, which requires either Noble.rb, Citizen.rb, or Other.rb.
<Papierkorb> Doesn't really look OOP-y
nanoz has quit [Quit: <3]
<leitz> I'm using it to learn OOP-y stuff. Still learning. :)
g6egh8hjh has quit [Ping timeout: 240 seconds]
<Papierkorb> leitz: Citizen looks like it could be a usual class
bmurt has joined #ruby
<Papierkorb> leitz: Storing everything into an 'external' object, in this case even a Hash, for this is not needed. Are you coming from a imperative language?
dmmoody has joined #ruby
<leitz> Papierkorb, I do mostly bash and have done some C. So yeah, my OOP-fu is weak.
<Papierkorb> So yes, imperative. No problem.
<Papierkorb> Huh, your README talks about it using Ruby 1.8 - Is this true?
<leitz> I'm trying to keep things simple so I don't get too confused.
<leitz> On Ruby 1.8, yes. I work on servers, and that's what they have.
<Papierkorb> Oh my god, that's way beyond end of life
<Papierkorb> Please don'T
dennisvennink has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Papierkorb> Also on servers, you can easily install a recent ruby for a single user without any root permissions required
<leitz> Can't add a newer Ruby, and that's why I minimize my code to use Built in classes and modules.
hahuang61 has quit [Ping timeout: 250 seconds]
<leitz> Then whatever I write won't work on the other servers.
<Papierkorb> leitz: You're making things for yourself much much harder. "Keeping it simple to not get confused" is the polar opposite
benlieb has quit [Quit: benlieb]
<Papierkorb> What are those 'other servers'?
<leitz> All Ruby 1.8.
jenrzzz has quit [Ping timeout: 244 seconds]
<Papierkorb> Ruby 1.8 is not only ultra slow, but also has tons of known issues which are unpatched.
<Papierkorb> It's like you're using Windows 98 for a new deployment
<leitz> Understood, but not something i can change.
<leitz> Rather, I'm willing to live with the old version instead of having to maintain a new version everywhere.
dmmoody has quit [Ping timeout: 260 seconds]
<Papierkorb> You know bash, right? Script it.
bmurt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hammond has joined #ruby
<leitz> And sit though days of coding to script and weeks of meetings to talk management into a new version of ruby just so I can have new featuers I'm not going to use?
<leitz> Nyah.
<Papierkorb> lel
<hammond> in a case statement when I'm catching string commands with when how do I catch a string that's included in the general string
<Papierkorb> > not going to use
<hammond> like "This is a string" when "string"
<hammond> or something
<Papierkorb> hammond: use regexps: when /something/
<Papierkorb> leitz: Also have a base-class for 'people'. if a noble is a citizen, make Noble inherit from Citizen. If not, have a base-class like `Person` and make classes inherit from that. In ruby, we use snake_case.rb file names, NotThis.rb
<hammond> ok
<Papierkorb> leitz: And "not going to use". Good one. I don't get it, why do people make it so much harder for them under the guise of 'making it easier'? Gems will want to use "that new stuff", people helping expect you use a recent ruby version which is not EOL'd.
<Papierkorb> ruby-install isn't hard, perfectly scriptable (using bash, there are pre-made ansible plays for it, or with other provision tools)
<Papierkorb> And if your app gets crashed or otherwise owned by an attacker through a known issue, what's going "management" think about you then?
johnmilton has quit [Ping timeout: 244 seconds]
<leitz> Papierkorb, I understand that "real" Ruby programmers need and use the newer features and efficiencies. I'm trying to learn and show the local folks that Ruby is a viable alternative to Python or Perl. If we have to install new versions of Ruby outside of vendor provided code, and if we have to run regression tests because new gems break old code, Ruby loses a chance to be used.
<leitz> I can use the Ruby on the system and do simple stuff.
<leitz> I can play with Ruby at home and learn more so I can take it to work and do more stuff.
<leitz> to
<leitz> I expect to get better as I go.
<hammond> idk i think ruby is good for tech-savvy people. like coders.
<Papierkorb> 1) small char file name 2) If your method does not expect arguments, you can leave out the "()" completely 3) Please don't use String.new, simply do ""
<Papierkorb> leitz:
hipertracker has quit [Quit: hipertracker]
bmurt has joined #ruby
<Papierkorb> leitz: The ruby community has a somewhat common ground on what ruby code should look like. You don't have to follow everyone in the end, but for the start, it could be a good idea. You can use `rubocop` ($ gem install rubocop) as code linter. Your code editor may already come with rubocop integration. Rubocop would tell you the same I told you
<leitz> hammond, I find Ruby fun to code in.
<hammond> true. distributing ruby code to normal users seems hard. but probably possible.
<leitz> Papierkorb, Papierkorb, rubocop only supports MRI 2+
<Papierkorb> Which is reasonable.
<Papierkorb> I'm not going to recommend using software which is EOL'd and has security issues.
thinkvantage has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
Guest34914 has quit [Ping timeout: 240 seconds]
The_Phoenix has joined #ruby
hipertracker has joined #ruby
minotep has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest34914 has joined #ruby
DoubleMalt has joined #ruby
agit0 has joined #ruby
giz|work has joined #ruby
<leitz> Papieroorb, understood.
<leitz> Sorry, didn't mean to misspell Papierkorb. Just got back from breakfast.
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ytti_> /win 16
terens has quit []
ellistaa has joined #ruby
shinnya has joined #ruby
GabeTomaz has quit [Quit: WeeChat 1.4]
thinkvantage has quit [Quit: Konversation terminated!]
johnmilton has joined #ruby
pandaant has quit [Remote host closed the connection]
hahuang61 has joined #ruby
johnmilton has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
hakunin has quit [Ping timeout: 264 seconds]
tubuliferous has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
hakunin has joined #ruby
minimalism has joined #ruby
Spami has joined #ruby
tubuliferous has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
Devalo has quit [Remote host closed the connection]
qbantek has joined #ruby
jenrzzz has joined #ruby
Devalo has joined #ruby
qbantek has quit [Client Quit]
Devalo has quit [Ping timeout: 264 seconds]
johnmilton has joined #ruby
qbantek has joined #ruby
ElFerna has joined #ruby
l4v2 has joined #ruby
hakunin has quit [Ping timeout: 244 seconds]
minotep has quit [Ping timeout: 264 seconds]
symm- has quit [Ping timeout: 264 seconds]
ruby[bot] has joined #ruby
hakunin has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
Yacker has joined #ruby
ellistaa has quit [Ping timeout: 265 seconds]
ElFerna has quit [Read error: Connection reset by peer]
ellistaa has joined #ruby
nankyokusei has joined #ruby
kobain has joined #ruby
codeandcoffee_ has quit [Quit: Connection closed for inactivity]
tvw has joined #ruby
framling has joined #ruby
ellistaa has quit [Client Quit]
qbantek has quit []
ellistaa has joined #ruby
qbantek has joined #ruby
Rodya_ has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
qbantek has quit [Client Quit]
MarkBilk has joined #ruby
flashpoint9 has joined #ruby
RegulationD has joined #ruby
sdwrage has joined #ruby
Devalo has joined #ruby
sdwrage has quit [Client Quit]
flashpoint9 has quit [Ping timeout: 250 seconds]
aryaching has joined #ruby
jaguarmagenta has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
djbkd has joined #ruby
spudowiar has joined #ruby
st0mar has joined #ruby
jaguarmagenta has quit [Ping timeout: 260 seconds]
aryaching has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
<ellistaa> functional programming is not by any means concurrent right? id have to write functional code that is also concurrent if i wanted both?
<ellistaa> oops wrong channel
bmurt has quit [Read error: Connection reset by peer]
SilverKey has quit [Quit: Halted.]
SilverKey has joined #ruby
hipertracker has quit [Quit: hipertracker]
hipertracker has joined #ruby
hipertracker has quit [Client Quit]
tvw has quit [Remote host closed the connection]
ahuman has quit [Ping timeout: 264 seconds]
elomatreb has quit [Quit: mep mep]
elomatreb has joined #ruby
ekinmur has joined #ruby
Rodya_ has quit [Remote host closed the connection]
ahuman has joined #ruby
tk_ has quit [Quit: ばいばい]
craigp has quit [Ping timeout: 244 seconds]
hahuang61 has joined #ruby
dmmoody has joined #ruby
bmurt has joined #ruby
dmmoody has quit [Client Quit]
tubuliferous has joined #ruby
rubie has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
bmurt has quit [Ping timeout: 244 seconds]
Es0teric has joined #ruby
craigp has joined #ruby
tubuliferous has quit [Ping timeout: 244 seconds]
rubie has quit [Remote host closed the connection]
Devalo has quit [Remote host closed the connection]
bmurt has joined #ruby
Devalo has joined #ruby
SilverKey has quit [Quit: Halted.]
sleepee has quit [Ping timeout: 244 seconds]
rubie has joined #ruby
craigp has quit [Read error: No route to host]
Devalo has quit [Ping timeout: 240 seconds]
SilverKey has joined #ruby
SilverKey has quit [Client Quit]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jud^ has joined #ruby
ellistaa has quit [Quit: ellistaa]
jud has quit [Ping timeout: 250 seconds]
hakunin_ has joined #ruby
hakunin has quit [Read error: Connection reset by peer]
nischay1989 has joined #ruby
hakunin has joined #ruby
hakunin__ has joined #ruby
hakunin has quit [Read error: Connection reset by peer]
diegoviola has joined #ruby
hakunin_ has quit [Ping timeout: 264 seconds]
seap has joined #ruby
marr has quit [Ping timeout: 244 seconds]
ellistaa has joined #ruby
sleepee has joined #ruby
Azure has quit [Ping timeout: 276 seconds]
agit0 has quit [Quit: zzzZZZ….]
ellistaa has quit [Client Quit]
ellistaa has joined #ruby
ellistaa has quit [Client Quit]
sleepee has quit [Ping timeout: 264 seconds]
nickjj_ has joined #ruby
jhack has joined #ruby
ellistaa has joined #ruby
joonty has joined #ruby
nettoweb has joined #ruby
rubie has quit [Remote host closed the connection]
rubie has joined #ruby
rubie has quit [Remote host closed the connection]
rubie has joined #ruby
joonty has quit [Client Quit]
nickjj_ has quit [Ping timeout: 258 seconds]
swills has quit [Quit: Leaving]
Es0teric has quit [Quit: Computer has gone to sleep.]
rubie_ has joined #ruby
rubie has quit [Read error: Connection reset by peer]
bmurt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
swills has joined #ruby
ecnalyr has joined #ruby
joonty has joined #ruby
ellistaa has quit [Ping timeout: 250 seconds]
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
joonty has quit [Client Quit]
chouhoulis has joined #ruby
ElFerna has joined #ruby
ecnalyr has quit [Ping timeout: 250 seconds]
ellistaa has joined #ruby
kavanagh has joined #ruby
killerkamel has quit [Ping timeout: 244 seconds]
nettoweb has joined #ruby
pawnbox has quit [Remote host closed the connection]
joonty has joined #ruby
karapetyan has joined #ruby
hahuang61 has joined #ruby
joonty has quit [Client Quit]
ellistaa has quit [Quit: ellistaa]
AndyBotwin has joined #ruby
tubuliferous has joined #ruby
Devalo has joined #ruby
fmcgeough has joined #ruby
kavanagh has quit [Quit: That's all folks!]
hahuang61 has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
shinnya has quit [Ping timeout: 240 seconds]
krobzaur has joined #ruby
hakunin has joined #ruby
hakunin__ has quit [Read error: Connection reset by peer]
Hyuk has joined #ruby
nankyokusei has joined #ruby
pawnbox has quit [Remote host closed the connection]
kavanagh has joined #ruby
giz|work has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
dennisvennink has joined #ruby
rubie_ has quit [Remote host closed the connection]
rubie has joined #ruby
nankyokusei has quit [Ping timeout: 265 seconds]
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
Silthias has quit [Ping timeout: 244 seconds]
sepp2k has quit [Read error: Connection reset by peer]
joonty has joined #ruby
sepp2k has joined #ruby
rubie has quit [Ping timeout: 252 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
flashpoint9 has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
karapetyan has joined #ruby
arulmagi has joined #ruby
ellistaa has joined #ruby
<ule> how can I check if a hash key exist and its not empty?
karapetyan has quit [Remote host closed the connection]
kavanagh has quit [Ping timeout: 276 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
hakunin has quit [Ping timeout: 260 seconds]
Cohedrin has joined #ruby
joonty has quit [Quit: This computer has gone to sleep]
hakunin has joined #ruby
bmurt has joined #ruby
<Papierkorb> ule: what shall not be 'empty'?
bmurt has quit [Client Quit]
Tempesta has joined #ruby
<Papierkorb> ule: The hash, or the value you get out of the hash?
DoubleMalt has quit [Ping timeout: 258 seconds]
RegulationD has joined #ruby
statelesscode_ has joined #ruby
harfangk has joined #ruby
flashpoint9 has joined #ruby
statelesscode has quit [Ping timeout: 250 seconds]
statelesscode_ is now known as statelesscode
krobzaur has quit [Ping timeout: 264 seconds]
jaguarmagenta has joined #ruby
RegulationD has quit [Ping timeout: 252 seconds]
shinnya has joined #ruby
jaguarmagenta has quit [Ping timeout: 250 seconds]
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
DoubleMalt has joined #ruby
Yacker has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fmcgeough has quit [Quit: fmcgeough]
Yacker has joined #ruby
spudowiar has quit [Quit: Leaving.]
<ule> Papierkorb: it was just curiosity..
<ule> I think just using .key? will help me here
<Papierkorb> ule: No problem, just need some clarification so I can give you a proper answer :)
<Papierkorb> ule: Yes, or include?
rubie has joined #ruby
<ule> I was playing with this test here
<Papierkorb> ule: Please post the non-raw version
nando293921 has joined #ruby
<ule> oh sorry
<ule> If you guys want to give me some suggestions.. Always when I post some code here.. someone give me the same code with 1 line lol
<Papierkorb> ule: Ah, you're looking for a way to order the keys of the hash so they match the 'correct_size_order', correct?
<ule> Mon_Ouie: ^^
<ule> Papierkorb: exactly
Ishido has quit [Ping timeout: 258 seconds]
ellistaa has quit [Quit: ellistaa]
<ule> this code is working well.. I just want to know if I could improve something according with someone with more experience than me
<ule> apeiros: ^^
<Papierkorb> ule: There are actually multiple 1-line versions ;)
<ule> hahaha
<ule> my goal is become this kind of ruby dev
arulmagi has quit [Quit: Leaving]
<ule> writing cool stuffs with just one line
<Papierkorb> >> a = {"L"=>5, "M"=>10, "S"=>9, "EXTRA"=>88, "XL"=>1, "XS"=>4}; b = %w(XS S M L XL); b.zip(a.values_at(*b)).to_h
<ule> :D
<ruby[bot]> Papierkorb: # => {"XS"=>4, "S"=>9, "M"=>10, "L"=>5, "XL"=>1} (https://eval.in/614340)
<ule> Papierkorb: how about extra? it should go the the end
<ule> Papierkorb: OMG this is so coool
flashpoint9 has quit [Remote host closed the connection]
<Papierkorb> However, if one size is not given, this will include stuff like `"M" => nil`. To remedy this, you append ...to_h.reject{|_, v| v.nil?}
<Papierkorb> If you're working with Rails, or have ActiveSupport loaded, you can just use `compact` instead of the `reject`. It does the same
<rails> what
<rails> oh
flashpoint9 has joined #ruby
<ule> Papierkorb: I'm writing down your tips here.. I'm gonna read the docs for each function to understand well
<rails> i should go
rails has left #ruby ["I thought what I'd do was, I'd pretend I was one of those deaf-mutes."]
<Papierkorb> ule: If you want to add 'EXTRA', just append it to the sorted array. Or any other position you want it to show up
<Papierkorb> >> a = {"L"=>5, "M"=>10, "S"=>9, "EXTRA"=>88, "XL"=>1, "XS"=>4}; b = %w(XS S M L XL); b.each_with_object({}){|key, hsh| hsh[key] = a[key]}
<ruby[bot]> Papierkorb: # => {"XS"=>4, "S"=>9, "M"=>10, "L"=>5, "XL"=>1} (https://eval.in/614341)
<Papierkorb> ule: Another solution above. Same `reject` stuff applies to this one.
yorickpeterse has quit [Quit: yorickpeterse]
<ule> Papierkorb: thank you so much!!
ellistaa has joined #ruby
<ule> Papierkorb: how long have you been working with ruby?
<Papierkorb> ule: There is a third 1-line way I can think of right now using Enumerable#map. Try coming up with it yourself, if you're having trouble, ask here
<Papierkorb> ule: A year or something?
<ule> Papierkorb: really cool! thanks a lot!
hahuang61 has joined #ruby
evie_hammond has quit [Quit: WeeChat 1.5]
<ule> in order to append I would need to execute some kind of diff
eljimbo has joined #ruby
<ule> to extract examples like the EXTRA there..
giz|work has joined #ruby
<ule> not sure if I can do .diff on hash or I'll need to convert it to array
<Papierkorb> Append? Diff? Can't follow right now
<ule> so.. after ordering like you did above, I would need to create a diff from the original hash and the final hash
<ule> this will give the elements that is differing right.. something like a.diff(b)
<ule> and then append it to the sorted hash
<ule> lemme try here
hahuang61 has quit [Ping timeout: 250 seconds]
yorickpeterse has joined #ruby
hipertracker has joined #ruby
evie_hammond has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jackjackdripper has joined #ruby
<al2o3-cr> anyone got any ideas on how to set STDIN.readline to non-blocking because i've tried everything
hipertracker has quit [Ping timeout: 244 seconds]
Ishido has joined #ruby
wpaulson has joined #ruby
firstdayonthejob has quit [Quit: WeeChat 1.5]
wpaulson has quit [Remote host closed the connection]
wpaulson has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
Azure has joined #ruby
jackjackdripper1 has joined #ruby
firstdayonthejob has joined #ruby
elifoster has joined #ruby
jhack has quit [Quit: jhack]
nando293921 has quit [Ping timeout: 258 seconds]
jhack has joined #ruby
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
<toretore> al2o3-cr: what do you mean exactly?
<al2o3-cr> toretore: i've set non blocking with require 'fcntl'; STDIN.fcntl Fcntl::F_SETFL, Fcntl::O_NONBLOCK
<al2o3-cr> but it still blocks when call STDIN.readline
yqt has joined #ruby
<al2o3-cr> >> require 'fcntl'; STDIN.fcntl Fcntl::F_SETFL, Fcntl::O_NONBLOCK
<ruby[bot]> al2o3-cr: # => 0 (https://eval.in/614392)
<toretore> i think you're going to have to use read_nonblock
<al2o3-cr> it sets it but totally disregards it
<al2o3-cr> tried doesn't work with read_nonblock
matthewd has joined #ruby
<Papierkorb> al2o3-cr: Tried simply STDIN.sync = false ?
<al2o3-cr> Papierkorb: ah, no, let me try
<Papierkorb> I guess it only works with read_nonblock or readpartial
<al2o3-cr> yep, no luck :(
<al2o3-cr> guess it can't be done
<Papierkorb> what do you want to do?
ellistaa has quit [Quit: ellistaa]
<toretore> how does read_nonblock not work?
eljimbo has quit [Quit: This computer has gone to sleep]
<al2o3-cr> how would i use read_nonblock to read newline terminated strings
<al2o3-cr> and i don't know the strings beforehand
lkb has joined #ruby
Velizar has joined #ruby
<toretore> use a buffer
eljimbo has joined #ruby
<Velizar> Is there a better way to write lines 4-6? https://gist.github.com/VelizarHristov/2785c4e15c11db1dcd0a4f0a4b95a4ee
<Velizar> I feel like there might be a method which does that for me
QORRiE has joined #ruby
<al2o3-cr> Velizar: raise "fooo", if ...
<toretore> Velizar: the code is fine
<al2o3-cr> probably
<Velizar> like assert(), but assert is not for production really
<Velizar> I think
Es0teric has joined #ruby
<al2o3-cr> I'm gonna try something
Cohedrin has joined #ruby
skweek has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
matp has quit [Remote host closed the connection]
Alina-malina has quit [Ping timeout: 276 seconds]
flashpoint9 has quit [Remote host closed the connection]
Cohedrin has quit [Client Quit]
<ineb> just me, or is youtube down? https://www.youtube.com/watch?v=Hp0wqq0EKJg
<ineb> kind of down.
<ineb> no videos working here
<drbrain> works fine from SEA
<ineb> awww wrong channel. sorry
<drbrain> all 7 minutes downloaded instantly
<ineb> thanks nevertheless
SCHAAP137 has quit [Remote host closed the connection]
SCHAAP137 has joined #ruby
jhack has quit [Quit: jhack]
Guest34914 has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 258 seconds]
bkxd has joined #ruby
kobain has quit [Ping timeout: 260 seconds]
Alina-malina has joined #ruby
matp has joined #ruby
Velizar has left #ruby [#ruby]
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Alina-malina_ has joined #ruby
yqt has quit [Ping timeout: 258 seconds]
soLucien has joined #ruby
Guest34914 has joined #ruby
<soLucien> hi guys ! What is the meaning of ||= ?
nettoweb has joined #ruby
<soLucien> def self.source_root
<soLucien> @source_root ||= Pathname.new(File.expand_path("../../", __FILE__))
<soLucien> end
<adam12> It's an or-equals
<adam12> Basically, if @source_root is not nil, return it. If not, use the value from the Pathname call and then assign it to @source_root
<adam12> (which then gets returned obviously)
<adam12> It can also be referred to as memoization.
<soLucien> ok cool
nettoweb has quit [Client Quit]
Alina-malina has quit [Ping timeout: 260 seconds]
<soLucien> it's like the null coalescing operation in c#
<soLucien> possiblyNullValue ?? valueIfNull
hahuang61 has joined #ruby
cdg has joined #ruby
eljimbo has quit [Quit: This computer has gone to sleep]
myndzi has joined #ruby
jackjackdripper1 has quit [Quit: Leaving.]
<havenwood> soLucien: possibly or possibly = value
<soLucien> i see
<soLucien> cool
RegulationD has joined #ruby
Alina-malina_ has quit [Changing host]
Alina-malina_ has joined #ruby
nankyokusei has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
nankyokusei has quit [Ping timeout: 260 seconds]
Hobogrammer has joined #ruby
seap has quit [Quit: WeeChat 1.5]
Dimik has joined #ruby
jenrzzz has joined #ruby
banisterfiend has joined #ruby
ruby-lang388 has joined #ruby
Cohedrin has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
ElFerna has quit [Read error: Connection reset by peer]
rubie has quit []
<ruby-lang388> using elasticsearch module, I want to find out and create an array of all nodes that are masters. So that I can compare all nodes with this array later in my script and print something only if they are not masters.
<ruby-lang388> can any one suggest how to be able to do this?
xxneolithicxx has quit [Quit: Leaving.]
chihhsin has quit [Ping timeout: 244 seconds]
<toretore> what is "elasticsearch module"?
chihhsin has joined #ruby
<ruby-lang388> first question in any of the IRCs ever. ( and I did read the link about how to ask question ). But if I miss some details. Sorry about that..
aries_liuxueyang has quit [Ping timeout: 240 seconds]
<soLucien> description <<-DESC
<soLucien> some
<soLucien> text
<soLucien> here
<soLucien> DESC
<soLucien> what's this ?
nettoweb has joined #ruby
<toretore> soLucien: stop pasting so many lines
hogetaro has joined #ruby
<toretore> DESC is a herecod
<toretore> heredoc
<soLucien> ok, i'll google that.. thanks
<soLucien> and sorry about pasting so much, didn't account for the newlines
<toretore> ?gist for future reference
<ruby[bot]> toretore: I don't see no for, whom should I tell about gist?
hogetaro_ has quit [Ping timeout: 240 seconds]
<toretore> ?gist
<ruby[bot]> https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
aries_liuxueyang has joined #ruby
<soLucien> i know, i use it
<headius> Mattx: rvm jruby do ruby ....
<soLucien> but this was supposed to be a one-line
<headius> I have ruby23 aliased to "rvm ruby-2.3.0 do ruby"
ellistaa has joined #ruby
giz|work has quit [Ping timeout: 244 seconds]
<soLucien> heredocs : what is the purpose of naming them ? As i can see, it's a syntactic sugar that allows for multi-line strings
<soLucien> why call them DESC FOO BAR HEREDOC ?
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
<toretore> so that you can choose the delimiter to not conflict with your content
<soLucien> i understand .. didn't consider that edge case
ruby-lang388 has quit [Quit: Page closed]
jaguarmagenta has joined #ruby
Spami has quit [Ping timeout: 240 seconds]
Spami has joined #ruby
gregf has quit [Ping timeout: 244 seconds]
Xentil has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
jaguarmagenta has quit [Ping timeout: 276 seconds]
PressReader has joined #ruby
framling has quit [Remote host closed the connection]
rubie has joined #ruby
gregf has joined #ruby
yfeldblum has joined #ruby
Synthead has quit [Ping timeout: 276 seconds]
SilverKey has joined #ruby
jetpack_joe has joined #ruby
gregf has quit [Quit: WeeChat 1.4]
sepp2k has quit [Read error: Connection reset by peer]
SilverKey has quit [Remote host closed the connection]
Devalo has quit [Remote host closed the connection]
QORRiE has quit [Ping timeout: 276 seconds]
Devalo has joined #ruby
ellistaa has quit [Quit: ellistaa]
nertzy has quit [Ping timeout: 244 seconds]
Devalo has quit [Ping timeout: 258 seconds]
Synthead has joined #ruby
ellistaa has joined #ruby
c0mrad3 has quit [Quit: Connection closed for inactivity]
hipertracker has joined #ruby
Devalo has joined #ruby
flashpoint9 has joined #ruby
A124 has quit [Quit: '']
giz|work has joined #ruby
PressReader has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
rubie has quit [Remote host closed the connection]
karapetyan has joined #ruby
kavanagh has joined #ruby
rubie has joined #ruby
nhhc has joined #ruby
shinnya has quit [Ping timeout: 244 seconds]
flashpoint9 has quit [Ping timeout: 250 seconds]
Synthead has quit [Ping timeout: 276 seconds]
<ytti_> &win 12
flashpoint9 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
karapetyan has quit [Remote host closed the connection]
ecnalyr has joined #ruby
jetpack_joe has quit [Read error: Connection reset by peer]
QORRiE has joined #ruby
RegulationD has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
enilsen16 has joined #ruby
kavanagh has quit [Ping timeout: 244 seconds]
Synthead has joined #ruby
ecnalyr has quit [Ping timeout: 260 seconds]
agit0 has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
gregf has joined #ruby
benlieb has joined #ruby
k3rn31 has joined #ruby
yqt has joined #ruby
l4v2 has quit [Quit: l4v2]
kobain has joined #ruby
joonty has joined #ruby
joonty has quit [Client Quit]
der-land1 has quit [Quit: WeeChat 1.5]
maarhart has joined #ruby
der-landgraf has joined #ruby
der-landgraf has quit [Changing host]
der-landgraf has joined #ruby
ec0 has joined #ruby
symm- has joined #ruby
rubie has quit [Remote host closed the connection]
k3rn31 has quit [Quit: Computer has gone to sleep.]
rubie has joined #ruby
der-landgraf has quit [Quit: WeeChat 1.5]
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rodya_ has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
<soLucien> why would one use the ! in the method_name! synthax?
maarhart has left #ruby ["ERC (IRC client for Emacs 24.5.1)"]
rails has joined #ruby
pawnbox has quit [Remote host closed the connection]
Hobogrammer has quit [Ping timeout: 240 seconds]
agit0 has quit [Quit: zzzZZZ….]
Hobogrammer has joined #ruby
gabriel has joined #ruby
ta_ has joined #ruby
pawnbox has joined #ruby
nankyokusei has joined #ruby
<Papierkorb> soLucien: As visual indicator that this method does something destructive, something maybe 'unexpected' or could also be used to identify a method with 'interesting' side effects
aeterne has joined #ruby
<Papierkorb> soLucien: For example, String has gsub and gsub!. The first one returns the new, gsubbed string. The second one modifies the string itself (= it is destructive), which can lead to side-effects outside the callers domain if one is not careful.
<soLucien> alright .. so ! is part of the function name
ta_ has quit [Remote host closed the connection]
<soLucien> and it does not imply anything to the lnguage
nankyokusei has quit [Ping timeout: 258 seconds]
<soLucien> just like ? is
<soLucien> a visual indicator that the function returns boolean
allcentury has joined #ruby
kavanagh has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
cyphase has quit [Ping timeout: 260 seconds]
<Papierkorb> yes
yardenbar has quit [Ping timeout: 240 seconds]
Evesy_ has joined #ruby
<Evesy_> Hey there, I had a quick question re some erb syntax.. I've got the below in a template and I don't want it to include a newline (i.e. having -%>) if nothing is to be outputted, but if it is I do want the newline to exist:
<Evesy_> <%= "Address: #{@event['client']['address']}" unless @event['client']['address'] == "unknown" %>
<Evesy_> Apart from splitting the code onto multiple lines, is there a way to achieve this?
<matthewd> Evesy_: Put the newline in the string
cyphase has joined #ruby
al2o3-cr has quit [Ping timeout: 258 seconds]
<Evesy_> Of course, thanks a lot Matthew!
minotep has joined #ruby
<Evesy_> I'll go hang my head in shame :P
__void has joined #ruby
gabriel1 has joined #ruby
gabriel has quit [Ping timeout: 264 seconds]
cdg has quit [Read error: Connection reset by peer]
The_Phoenix has quit [Quit: Leaving.]
nando293921 has joined #ruby
cdg has joined #ruby
kavanagh has quit [Ping timeout: 276 seconds]
kavanagh has joined #ruby
hfp has joined #ruby
hfp_work has joined #ruby
benlieb has quit [Quit: benlieb]
benlieb has joined #ruby
Evesy_ has quit [Quit: Page closed]
benlieb has quit [Client Quit]
dionysus69 has joined #ruby
nando293921 has quit [Ping timeout: 264 seconds]
kavanagh has quit [Ping timeout: 244 seconds]
kavanagh has joined #ruby
nofxx has quit [Remote host closed the connection]
vuoto has joined #ruby
al2o3-cr has joined #ruby
Synthead has quit [Ping timeout: 276 seconds]
Alex_openfire has joined #ruby
<Alex_openfire> Hi
Alex_openfire has quit [Quit: Leaving]
byteflame has joined #ruby
shinnya has joined #ruby
lxsameer has quit [Quit: WeeChat 1.5]
Davedev28 has joined #ruby
xall has joined #ruby
kavanagh has quit [Ping timeout: 244 seconds]
ellistaa has quit [Quit: ellistaa]
LoneHerm_ has joined #ruby
Synthead has joined #ruby
kavanagh has joined #ruby
marr has joined #ruby
Gasher has joined #ruby
exchgr has quit [Ping timeout: 252 seconds]
ekinmur has joined #ruby
tristanp has joined #ruby
kavanagh has quit [Ping timeout: 258 seconds]
d5sx43 has joined #ruby
ellistaa has joined #ruby
dhodgkin has joined #ruby
kavanagh has joined #ruby
zarubin has quit [Read error: Connection reset by peer]
spudowiar has joined #ruby
zarubin has joined #ruby
Devalo has quit [Remote host closed the connection]
elifoster has quit [Quit: out]
Devalo has joined #ruby
ellistaa has quit [Quit: ellistaa]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
dionysus69 has quit [Ping timeout: 244 seconds]
Devalo has quit [Ping timeout: 244 seconds]
ur5us has joined #ruby
enilsen16 has quit [Quit: Textual IRC Client: www.textualapp.com]
jenrzzz has quit [Ping timeout: 244 seconds]
RegulationD has joined #ruby
ta_ has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Madplatypus has joined #ruby
vuoto has quit [Remote host closed the connection]
tristanp has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
d5sx43 has quit [Read error: Connection reset by peer]
RegulationD has quit [Ping timeout: 244 seconds]
d5sx43 has joined #ruby
ellistaa has joined #ruby
exchgr has joined #ruby
v0n has quit [Ping timeout: 260 seconds]
minotep has quit [Ping timeout: 260 seconds]
kavanagh has quit [Ping timeout: 258 seconds]
kavanagh has joined #ruby
fmcgeough has joined #ruby
ellistaa has quit [Quit: ellistaa]
antgel has joined #ruby
nando293921 has joined #ruby
nando293921 has quit [Client Quit]
nando293921 has joined #ruby
Rodya_ has joined #ruby
rails has quit [Quit: EliteBNC free bnc service - http://elitebnc.org - be a part of the Elite!]
evilNirvana has joined #ruby
evilNirvana is now known as rails
rails has quit [Changing host]
rails has joined #ruby
Synthead has quit [Ping timeout: 276 seconds]
nettoweb has joined #ruby
allcentury has quit [Ping timeout: 244 seconds]
kavanagh has quit [Ping timeout: 276 seconds]
ellistaa has joined #ruby
kavanagh has joined #ruby
flashpoint9 has joined #ruby
enilsen16 has joined #ruby
xall has quit [Ping timeout: 244 seconds]
rubie has quit [Remote host closed the connection]
allcentury has joined #ruby
flashpoint9 has quit [Ping timeout: 250 seconds]
Rodya_ has quit [Remote host closed the connection]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
kavanagh has quit [Ping timeout: 258 seconds]
zacts has joined #ruby
hipertracker has quit [Quit: hipertracker]
Synthead has joined #ruby
kirun has quit [Quit: Client exiting]
xall has joined #ruby
v0n has joined #ruby
kavanagh has joined #ruby
DoubleMalt has quit [Ping timeout: 240 seconds]
Spami has joined #ruby
giz|work has quit [Ping timeout: 258 seconds]
mloy_ has joined #ruby
Rodya_ has joined #ruby
mloy_ has quit [Client Quit]
zarubin has quit [Quit: leaving]
ledestin has joined #ruby
zarubin has joined #ruby
SilverKey has joined #ruby
nando293921 has quit [Ping timeout: 250 seconds]
hipertracker has joined #ruby
ellistaa has quit [Quit: ellistaa]
hipertracker has quit [Client Quit]
kavanagh has quit [Ping timeout: 260 seconds]
nankyokusei has joined #ruby
hipertracker has joined #ruby
d5sx43 has quit []
nando293921 has joined #ruby
rubie has joined #ruby
last_staff has quit [Quit: last_staff]
nankyokusei has quit [Ping timeout: 276 seconds]
nando293921 has quit [Ping timeout: 260 seconds]
Alina-malina_ has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
ta_ has quit [Remote host closed the connection]
Alina-malina has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
ta_ has joined #ruby
yfeldblum has joined #ruby
kavanagh has joined #ruby
MarkBilk has quit [Ping timeout: 250 seconds]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ellistaa has joined #ruby
firstdayonthejob has quit [Ping timeout: 258 seconds]
ur5us has quit [Remote host closed the connection]
Es0teric has joined #ruby
antgel has quit [Ping timeout: 240 seconds]
hipertracker has quit [Quit: hipertracker]
hipertracker has joined #ruby
gabriel1 has quit [Quit: WeeChat 1.4]
macsteps has joined #ruby
kavanagh has quit [Ping timeout: 244 seconds]
rawillia has joined #ruby
toretore has quit [Ping timeout: 258 seconds]
kavanagh has joined #ruby
spider-mario has quit [Remote host closed the connection]
<rawillia> I've a quick question regarding FactoryGirl: I'm attempting to use it with Cucumber for easy models, but I'm getting uninitialized constant when I try to call my model. http://pastebin.com/s1sRwBua
<ruby[bot]> rawillia: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/7f9d59f1e9e3ea3f5e1f6adcbc1c0c1b
<ruby[bot]> rawillia: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
flashpoint9 has joined #ruby
dpk_ has joined #ruby
l4v2 has joined #ruby
underplank has joined #ruby
symm- has quit [Ping timeout: 250 seconds]
flashpoint9 has quit [Ping timeout: 250 seconds]
LoneHerm_ has quit [Remote host closed the connection]
Synthead has quit [Ping timeout: 276 seconds]
kavanagh has quit [Remote host closed the connection]
kavanagh has joined #ruby
ellistaa has quit [Quit: ellistaa]
dpk_ has quit [Quit: Page closed]
dpkezio has joined #ruby
ecnalyr has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
Synthead has joined #ruby
hipertracker has quit [Quit: hipertracker]
dpkezio has quit [Client Quit]
kavanagh has quit [Ping timeout: 276 seconds]
ecnalyr has quit [Ping timeout: 244 seconds]
ellistaa has joined #ruby
gdonald has joined #ruby
abshake has joined #ruby
<abshake> hello
<abshake> anybody there?
LoneHerm_ has joined #ruby
<abshake> heloooo
nischay1989 has quit [Remote host closed the connection]
<havenwood> abshake: hi
ta_ has quit [Remote host closed the connection]
abshake has quit [Client Quit]
kavanagh has joined #ruby
kavanagh has quit [Client Quit]
chouhoulis has quit [Remote host closed the connection]
ellistaa has quit [Quit: ellistaa]
hipertracker has joined #ruby
<zacts> hi rubyists
<havenwood> hi
macsteps has quit [Remote host closed the connection]
duncannz has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
QORRiE has quit [Quit: Leaving]
Spami has joined #ruby
l4v2 has quit [Quit: l4v2]
RegulationD has joined #ruby
xxneolithicxx has joined #ruby
Guest32874 has quit [Quit: Oh shit the geek died!]
gdonald is now known as gdonald_
Evan has joined #ruby
<AphelionZ> might somebody be able to help me debug an issue im having with Sinatra and paperclip?
gdonald_ is now known as gdonald
Evan is now known as Guest14857
Jackneill_ has quit [Remote host closed the connection]
<AphelionZ> I'm hosting with Heroku and I'm at a point now where the upload is silently failing with a 500 error and I'm not even sure how / where to debug
RegulationD has quit [Ping timeout: 252 seconds]
rubie has quit [Remote host closed the connection]
ellistaa has joined #ruby
spookyghost has joined #ruby
jenrzzz has joined #ruby
spookyghost has quit [Remote host closed the connection]
framling has joined #ruby
ellistaa has quit [Client Quit]
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
jottr has joined #ruby
rubie has joined #ruby
l4v2 has joined #ruby
pawnbox has quit [Remote host closed the connection]
Rodya_ has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 250 seconds]
nikitasius has joined #ruby
nikitasius has left #ruby ["WeeChat 1.0.1"]
T2ya has joined #ruby
Guest59843 has joined #ruby
alfiemax has quit [Ping timeout: 252 seconds]
<Guest59843> debating on if i should learn ruby like when will i use it
ec0 has quit [Ping timeout: 250 seconds]