<ruby-lang001>
what i did was convert the i to array and count
StoneCypher has quit [Ping timeout: 248 seconds]
<ruby-lang001>
any alternatives?
<Yonk_>
With pg_search let's say we have a `User` model with a has_many relationship to `Location`. If I query someone named George that has two locations is it possible to get back the User with the name George and only the matched location of brooklyn?
<Yonk_>
It's not really an issue otherwise I would post it on their github
<ruby-lang001>
rails channel yonk
StoneCypher has joined #ruby
<Yonk_>
doh
<Yonk_>
sorry about that
splud has quit [Quit: splud]
<ruby-lang001>
@Radar thank you solved it
Kug3lis has joined #ruby
skweek has joined #ruby
JoshS has joined #ruby
Kug3lis is now known as Kug3lis_off
Yxhuvud has quit [Ping timeout: 265 seconds]
<Radar>
ruby-lang001: great :)
houhoulis has joined #ruby
Yxhuvud has joined #ruby
HalcyonicStorm has joined #ruby
dnicole has joined #ruby
arescorpio has joined #ruby
houhoulis has quit [Client Quit]
doubleemms has joined #ruby
aryaching has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
astrobunny has joined #ruby
astrobunny has quit [Read error: Connection reset by peer]
astrobunny has joined #ruby
libastral has quit [Ping timeout: 264 seconds]
libastral has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
harai has joined #ruby
skweek has quit [Ping timeout: 260 seconds]
benlieb has quit [Quit: benlieb]
ur5us has quit [Ping timeout: 246 seconds]
SteenJobs has joined #ruby
Scientz is now known as Scient
Scient is now known as Scient_
Scient_ is now known as Scient
TilakeTikka has joined #ruby
TilakeTikka has quit [Remote host closed the connection]
ur5us has joined #ruby
doubleemms has quit [Remote host closed the connection]
Dreamer3 has joined #ruby
d^sh has quit [Ping timeout: 246 seconds]
d^sh has joined #ruby
benlieb has joined #ruby
ruby-lang001 has quit [Ping timeout: 260 seconds]
hotpancakes has joined #ruby
foption has joined #ruby
dcunit3d has quit [Ping timeout: 248 seconds]
jottr has joined #ruby
hanmac has quit [Ping timeout: 258 seconds]
enyo_ has joined #ruby
optiz0r has quit [Ping timeout: 265 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
jottr_ has quit [Ping timeout: 265 seconds]
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
enyo_ has quit [Ping timeout: 258 seconds]
username_ has joined #ruby
dviola has quit [Quit: WeeChat 1.6]
harai has quit [Ping timeout: 258 seconds]
doubleemms has joined #ruby
benlieb has quit [Quit: benlieb]
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
hanmac has joined #ruby
username_ has quit [Ping timeout: 260 seconds]
Gasher has joined #ruby
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
carterdea has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
benlieb has joined #ruby
Yxhuvud has quit [*.net *.split]
Kug3lis_off has quit [*.net *.split]
astrobunny has quit [*.net *.split]
arescorpio has quit [*.net *.split]
Scient has quit [*.net *.split]
libastral has quit [*.net *.split]
JoshS has quit [*.net *.split]
montanonic has quit [*.net *.split]
ledestin has quit [*.net *.split]
SteenJobs has quit [*.net *.split]
aryaching has quit [*.net *.split]
rwb has quit [*.net *.split]
aidalgol has quit [*.net *.split]
alan_w has quit [*.net *.split]
doubleemms has quit [*.net *.split]
lszhu has quit [*.net *.split]
arescorpio has joined #ruby
Scient has joined #ruby
astrobunny has joined #ruby
Kug3lis_off has joined #ruby
Yxhuvud has joined #ruby
doubleemms has joined #ruby
lszhu has joined #ruby
libastral has joined #ruby
ledestin has joined #ruby
montanonic has joined #ruby
JoshS has joined #ruby
SteenJobs has joined #ruby
alan_w has joined #ruby
aidalgol has joined #ruby
aryaching has joined #ruby
rwb has joined #ruby
nadir is now known as nadir|mobile
SeepingN has joined #ruby
nankyokusei has joined #ruby
rwb has quit [Ping timeout: 248 seconds]
ghostlight has quit [Ping timeout: 258 seconds]
JoshS has quit [Ping timeout: 248 seconds]
JoshS has joined #ruby
optiz0r has joined #ruby
charliesome_ has joined #ruby
m_antis has quit [Ping timeout: 265 seconds]
charliesome has quit [Read error: Connection reset by peer]
charliesome__ has joined #ruby
nankyokusei has quit [Ping timeout: 258 seconds]
ghostlight has joined #ruby
harfangk has joined #ruby
charliesome_ has quit [Read error: Connection reset by peer]
charliesome__ has quit [Ping timeout: 260 seconds]
dcunit3d has joined #ruby
brent__ has joined #ruby
charliesome has joined #ruby
brent__ has quit [Client Quit]
rwb has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
MrBismuth has joined #ruby
banisterfiend has joined #ruby
roamingdog has joined #ruby
charliesome has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
carterdea has joined #ruby
toretore has quit [Ping timeout: 256 seconds]
braincrash has quit [Quit: bye bye]
LuckyABA has quit [Ping timeout: 265 seconds]
JoshS has quit [Ping timeout: 246 seconds]
SeepingN has quit [Remote host closed the connection]
SeepingN has joined #ruby
benlieb has quit [Quit: benlieb]
ryzokuken has joined #ruby
doubleemms has quit [Remote host closed the connection]
ryzokuken has quit [Client Quit]
shakes has joined #ruby
ryzokuken has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
podman[USC] is now known as podman
charliesome has joined #ruby
benlieb has joined #ruby
charliesome has quit [Client Quit]
hahuang61 has joined #ruby
FastJack has joined #ruby
govg has joined #ruby
braincrash has joined #ruby
gix has quit [Ping timeout: 260 seconds]
petrichorx has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
gix has joined #ruby
aremaref has quit [Ping timeout: 265 seconds]
aremaref has joined #ruby
aupadhye has joined #ruby
enyo has joined #ruby
blackbom1 has joined #ruby
arescorpio has quit [Remote host closed the connection]
enyo has quit [Ping timeout: 256 seconds]
blackbombay has quit [Ping timeout: 268 seconds]
solocshaw has joined #ruby
roamingdog has quit []
pilne has quit [Quit: Quitting!]
catenthusiast has joined #ruby
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
minimalism has quit [Quit: minimalism]
nbdy has joined #ruby
Channel6 has quit [Quit: Leaving]
nchambers is now known as hammwch
shakes has quit [Quit: Leaving]
DoctorMonocular has joined #ruby
<DoctorMonocular>
I have a data structure that is a nestable node. Nodes have parents, which are usually other nodes, but a parent can also be a Root object. I want to reference the root object from an arbitrary node. If I check that node's parent and it's a node, I want to check the parent's parent, until I hit (and return) the root. What's the cleanest way to do that? I suspect I can do some inject magic or something, but I
<DoctorMonocular>
'm not sure how to pull it off
elh9 has quit [Ping timeout: 245 seconds]
JoshS has joined #ruby
JoshS has quit [Max SendQ exceeded]
<DoctorMonocular>
I guess I'll just use recurrsion
<DoctorMonocular>
a little worried about overflows though
MrBismuth is now known as MrBusiness
JoshS has joined #ruby
testuser1 has joined #ruby
lxsameer has joined #ruby
nankyokusei has joined #ruby
A_Drone has quit [Read error: Connection reset by peer]
dnicole has quit [Remote host closed the connection]
clouvet has joined #ruby
pawnbox has joined #ruby
govg has joined #ruby
LoneHerm_ has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
solocshaw has quit [Ping timeout: 258 seconds]
<iaz>
I'm having an issue with rspec (3.5.4) where I'm pretty sure I'm just not configuring it correctly. When I run `bundler exec rspec` it only seems to run the first (depth-first, alphabetically) file in my spec directory. It's supposed to run all the files ending in _spec.rb right?
zapata has joined #ruby
<iaz>
I've never used IRC before, so if I do anything that's bad form, let me know.
pabloh_ has joined #ruby
aryaching has quit [Ping timeout: 248 seconds]
hotpancakes has quit [Ping timeout: 258 seconds]
pabloh has quit [Ping timeout: 248 seconds]
ryzokuken has quit [Read error: Connection reset by peer]
LoneHerm_ has quit [Remote host closed the connection]
ryzokuken has joined #ruby
DoctorMonocular has quit [Remote host closed the connection]
nbdy has joined #ruby
nbdy has quit [Client Quit]
montanonic has quit [Ping timeout: 248 seconds]
benlieb has quit [Quit: benlieb]
enterprisey has quit [Remote host closed the connection]
montanonic has joined #ruby
iaz has quit [Ping timeout: 260 seconds]
ur5us has quit [Ping timeout: 260 seconds]
ur5us has joined #ruby
<zenspider>
iaz: I'm no expert by any means... but that sounds right to me
charliesome has joined #ruby
djbkd2 has joined #ruby
djbkd2 has quit [Client Quit]
oaklndr1 has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Mortomes|Train has joined #ruby
jcao219 has joined #ruby
Mortomes|Train_ has joined #ruby
Mortomes|Train has quit [Ping timeout: 260 seconds]
lacour has quit [Quit: Leaving]
astrobunny has quit [Remote host closed the connection]
smathy has joined #ruby
astrobunny has joined #ruby
Kug3lis_off is now known as Kug3lis
clouvet has quit [Quit: leaving]
enyo has joined #ruby
hotpancakes has joined #ruby
postmodern has joined #ruby
biberu has joined #ruby
tvw has joined #ruby
jaiks has quit [Ping timeout: 240 seconds]
clouvet has joined #ruby
LoneHermit has joined #ruby
enyo has quit [Ping timeout: 260 seconds]
Coldblackice_ has quit [Ping timeout: 256 seconds]
clouvet has quit [Client Quit]
Kug3lis is now known as Kug3lis_off
clouvet has joined #ruby
SeepingN has quit [Ping timeout: 256 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Coldblackice has joined #ruby
charliesome has joined #ruby
LoneHermit has quit [Ping timeout: 260 seconds]
pabloh_ has quit [Quit: Leaving]
Tanfrieze has joined #ruby
charliesome has quit [Client Quit]
SteenJobs has quit [Quit: SteenJobs]
charliesome has joined #ruby
jaiks has joined #ruby
charliesome has quit [Client Quit]
hotpancakes has quit [Ping timeout: 258 seconds]
charliesome has joined #ruby
xen0fon has joined #ruby
SeepingN has joined #ruby
blackbom1 has quit [Ping timeout: 260 seconds]
carterdea has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nankyokusei has joined #ruby
ur5us has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 256 seconds]
petrichorx has quit [Quit: Connection closed for inactivity]
SeepingN has quit [Ping timeout: 272 seconds]
Mortomes|Train_ has quit [Ping timeout: 260 seconds]
nankyokusei has quit [Ping timeout: 246 seconds]
enilsen16 has joined #ruby
SpiffTR has joined #ruby
iogf has quit [Remote host closed the connection]
CloCkWeRX has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
oaklndr1 has quit [Ping timeout: 256 seconds]
enilsen16 has quit [Quit: enilsen16]
aganov has joined #ruby
conta1 has joined #ruby
enilsen16 has joined #ruby
SeepingN has joined #ruby
bigkevmcd has joined #ruby
clouvet has quit [Quit: leaving]
smathy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
clouvet has joined #ruby
harai has joined #ruby
elementaru has joined #ruby
testuser1 has quit [Quit: Leaving.]
aremaref has quit [Ping timeout: 248 seconds]
rippa has joined #ruby
xen0fon has quit [Ping timeout: 260 seconds]
teclator has quit [Ping timeout: 252 seconds]
e1z0 has joined #ruby
teclator has joined #ruby
SpiffTR has quit [Quit: Leaving.]
montanonic has quit [Ping timeout: 258 seconds]
jenrzzz has joined #ruby
andikr has joined #ruby
jshjsh has joined #ruby
mschuett has joined #ruby
wugy has joined #ruby
wugy has quit [Excess Flood]
wugy has joined #ruby
wugy has quit [Excess Flood]
<mschuett>
hello, driving me crazy and not sure what to search for. in ruby 2.3 how come this is valid class.method {some_string} but this is an error class.method({some_string})?
<mschuett>
at a loss for what to search
JoshS has quit [Ping timeout: 258 seconds]
<mschuett>
syntax error, unexpected '}', expecting => is the error it throws
pawnbox has quit [Remote host closed the connection]
tvw has quit [Read error: Connection reset by peer]
blackbom1 has joined #ruby
tvw has joined #ruby
aufi has joined #ruby
<mschuett>
o
hotpancakes has joined #ruby
<mschuett>
i'm too used to php magic hash/array objects
Mortomes|Work has joined #ruby
blaxter has joined #ruby
<blackbom1>
getting use to php sounds like a bad idea
mistym has joined #ruby
e1z0 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tvw has quit [Ping timeout: 256 seconds]
hotpancakes has quit [Ping timeout: 258 seconds]
mschuett has quit [Ping timeout: 260 seconds]
pawnbox has joined #ruby
saneax-_-|AFK is now known as saneax
norkle has quit [Ping timeout: 268 seconds]
last_staff has joined #ruby
yardenbar has joined #ruby
catenthusiast has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tvw has joined #ruby
jaruga___ has joined #ruby
jaruga___ is now known as jaruga
enyo has joined #ruby
carterdea has joined #ruby
mark_66 has joined #ruby
enyo has quit [Ping timeout: 248 seconds]
LoneHermit has joined #ruby
leonthemisfit is now known as leonthedrunkfit
LoneHermit has quit [Remote host closed the connection]
montanonic has joined #ruby
byte512 has joined #ruby
e1z0 has joined #ruby
SpiffTR has joined #ruby
tvw has quit [Read error: Connection reset by peer]
tvon has quit [Remote host closed the connection]
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
e1z0 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
astrobunny has quit [Remote host closed the connection]
nankyokusei has joined #ruby
enyo has joined #ruby
enilsen16 has quit [Quit: enilsen16]
the_drow_ has joined #ruby
Echohn has joined #ruby
enilsen16 has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
astrobunny has joined #ruby
nankyokusei has quit [Ping timeout: 272 seconds]
Echohn has quit [Remote host closed the connection]
ryzokuken has quit [Quit: Konversation terminated!]
elh9 has joined #ruby
Echohn has joined #ruby
Macaveli has joined #ruby
Echohn has quit [Remote host closed the connection]
andikr has quit [Ping timeout: 265 seconds]
enilsen16 has quit [Quit: enilsen16]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
Dobler has joined #ruby
dionysus69 has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
banisterfiend has joined #ruby
pawnbox has quit [Ping timeout: 248 seconds]
hotpancakes has joined #ruby
Silthias has joined #ruby
jsrn has joined #ruby
ishe_ua has joined #ruby
nowhereman has quit [Ping timeout: 248 seconds]
Echohn has joined #ruby
Echohn has quit [Remote host closed the connection]
astrobunny has quit [Remote host closed the connection]
carterdea has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jcao219 has quit [Ping timeout: 248 seconds]
hightower3 has quit [Ping timeout: 245 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
hightower3 has joined #ruby
milardovich has quit [Ping timeout: 265 seconds]
nankyokusei has quit [Ping timeout: 246 seconds]
xall_ has joined #ruby
hightower2 has quit [Ping timeout: 260 seconds]
doublemalt__ has quit [Ping timeout: 258 seconds]
xall has quit [Ping timeout: 272 seconds]
al2o3-cr has quit [Ping timeout: 246 seconds]
hotpancakes has quit [Ping timeout: 258 seconds]
marr has joined #ruby
pawnbox has joined #ruby
Yxhuvud has joined #ruby
djbkd_ has joined #ruby
lel has quit [Ping timeout: 265 seconds]
milardovich has joined #ruby
pawnbox has quit [Ping timeout: 272 seconds]
dionysus69 has joined #ruby
aidalgol has quit [Quit: zZzZzzz]
lenwood has joined #ruby
lel has joined #ruby
lenwood has quit [Client Quit]
lenwood has joined #ruby
lxsameer has joined #ruby
Dobler has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jespada has joined #ruby
neanderslob has quit [Read error: Connection reset by peer]
polysics has joined #ruby
djbkd_ has quit [Remote host closed the connection]
cibs has quit [Ping timeout: 268 seconds]
cibs has joined #ruby
sdothum has joined #ruby
pawnbox has joined #ruby
jaruga has quit [Ping timeout: 260 seconds]
xall_ has quit [Ping timeout: 248 seconds]
dionysus69 has quit [Ping timeout: 246 seconds]
Kug3lis has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
canteen4 has joined #ruby
astrobunny has joined #ruby
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
existensil has quit [Quit: WeeChat 0.4.2]
m_antis has joined #ruby
existensil has joined #ruby
CloCkWeRX has joined #ruby
astrobunny has quit [Ping timeout: 272 seconds]
ur5us has quit [Remote host closed the connection]
d0nn1e has quit [Ping timeout: 246 seconds]
Kug3lis has joined #ruby
d0nn1e has joined #ruby
lenwood has quit [Ping timeout: 260 seconds]
StoneCypher has joined #ruby
StoneCypher has quit [Ping timeout: 264 seconds]
ptx0 has quit [Ping timeout: 256 seconds]
enyo has quit [Ping timeout: 256 seconds]
hotpancakes has joined #ruby
DaveTaboola has joined #ruby
jmignault has joined #ruby
doublemalt__ has joined #ruby
hotpancakes has quit [Ping timeout: 258 seconds]
lenwood has joined #ruby
SpiffTR has quit [Quit: Leaving.]
nettoweb has joined #ruby
xen0fon has quit [Ping timeout: 260 seconds]
nettoweb1 has joined #ruby
nankyokusei has joined #ruby
astrobunny has joined #ruby
LoneHermit has joined #ruby
nettoweb has quit [Ping timeout: 246 seconds]
nettoweb1 has quit [Max SendQ exceeded]
sepp2k has joined #ruby
nankyokusei has quit [Ping timeout: 256 seconds]
nettoweb has joined #ruby
LoneHermit has quit [Ping timeout: 248 seconds]
astrobunny has quit [Ping timeout: 258 seconds]
enyo has joined #ruby
mark_66 has quit [Quit: Leaving.]
mark_66 has joined #ruby
lxsameer has quit [Ping timeout: 248 seconds]
nettoweb1 has joined #ruby
jmignault has quit [Remote host closed the connection]
milardovich has quit []
Rodya_ has joined #ruby
dviola has joined #ruby
nettoweb has quit [Ping timeout: 246 seconds]
astrobunny has joined #ruby
astrobunny has quit [Remote host closed the connection]
_whitelogger_ has joined #ruby
Aria has joined #ruby
Subfusc has joined #ruby
sspreitz has joined #ruby
creat has joined #ruby
JoL1hAHN has joined #ruby
snapcase has joined #ruby
alexandernst has joined #ruby
alexandernst has quit [Changing host]
alexandernst has joined #ruby
bastelfreak has joined #ruby
hayden___ has joined #ruby
mavenik[m] has joined #ruby
coreyja[m] has joined #ruby
blackjid has joined #ruby
M-travis has joined #ruby
bweston92 has joined #ruby
andersh has joined #ruby
guanjian[m] has joined #ruby
pmarreck has joined #ruby
alem0lars has joined #ruby
Lloyd has joined #ruby
rflot has joined #ruby
MrBloo has joined #ruby
unshadow has quit [Ping timeout: 248 seconds]
ELLIOTTCABLE has joined #ruby
mitsuhiko has joined #ruby
workmad3 has joined #ruby
ghostlight has quit [Ping timeout: 248 seconds]
dviola has quit [Quit: WeeChat 1.6]
diego1 has joined #ruby
SpiffTR has joined #ruby
postmodern has quit [Remote host closed the connection]
diego1 has quit [Changing host]
diego1 has joined #ruby
diego1 is now known as dviola
skmp has joined #ruby
dviola has quit [Client Quit]
pandaant has quit [Remote host closed the connection]
polysics has quit [Remote host closed the connection]
ghostlight has joined #ruby
nowhereman has quit [Ping timeout: 272 seconds]
alan_w has quit [Ping timeout: 248 seconds]
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
e1z0 has joined #ruby
Kug3lis has joined #ruby
e1z0 has quit [Client Quit]
unshadow has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
hotpancakes has joined #ruby
m_antis has quit [Ping timeout: 256 seconds]
troulouliou_div2 has joined #ruby
anisha_ has quit [Ping timeout: 256 seconds]
polysics has joined #ruby
lenwood has quit [Ping timeout: 246 seconds]
gajus has joined #ruby
saneax is now known as saneax-_-|AFK
anisha_ has joined #ruby
cibs has quit [Ping timeout: 268 seconds]
koooge_ has joined #ruby
polysics has quit [Remote host closed the connection]
cibs has joined #ruby
koooge has quit [Ping timeout: 248 seconds]
toretore has joined #ruby
Silthias1 has joined #ruby
polysics has joined #ruby
Silthias has quit [Ping timeout: 260 seconds]
polysics has quit [Remote host closed the connection]
blaxter has quit [Quit: foo]
unshadow has quit [Ping timeout: 248 seconds]
ddffg has quit [Quit: Leaving]
troulouliou_div2 has quit [Quit: Leaving]
unshadow has joined #ruby
dviola has joined #ruby
workmad3 has quit [Ping timeout: 272 seconds]
Guest59325 has quit [Quit: Guest59325]
xen0fon has joined #ruby
hotpancakes has quit [Ping timeout: 258 seconds]
quiqua has quit [Read error: Connection reset by peer]
quiqua has joined #ruby
elh9 has quit [Ping timeout: 245 seconds]
rwb has quit [Ping timeout: 248 seconds]
GinoManWorks has joined #ruby
zzak has quit [Ping timeout: 260 seconds]
Echohn has joined #ruby
zzak has joined #ruby
elh9 has joined #ruby
chiasmata has joined #ruby
lenwood has joined #ruby
StoneCypher has joined #ruby
aupadhye has quit [Ping timeout: 256 seconds]
jallen123 has joined #ruby
StoneCypher has quit [Ping timeout: 248 seconds]
Echohn has quit [Remote host closed the connection]
Echohn has joined #ruby
aries_liuxueyang has quit [Ping timeout: 245 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
workmad3 has joined #ruby
dc1 has joined #ruby
xit has joined #ruby
d0nn1e has quit [Ping timeout: 246 seconds]
Echohn has quit [Client Quit]
xit has left #ruby ["Killed buffer"]
dcunit3d has quit [Ping timeout: 272 seconds]
conta has quit [Ping timeout: 268 seconds]
conta1 is now known as conta
xit has joined #ruby
adrianS_ has joined #ruby
<adrianS_>
moin :)
dc1 has quit [Ping timeout: 248 seconds]
* adrianS_
fails to update to ruby 2.4.0 since the test suite complains about missing operator "<<" for nil class in /usr/lib64/ruby/2.4.0/net/protocol.rb ....
<adrianS_>
@debug_output << '<- ' if @debug_output
<adrianS_>
that comes with with ruby and seems to have worker with ruby 2.3 ..
<adrianS_>
@debug_output is nil, so it was skipped before, but ruby seems to complain now about invalid operator
<adrianS_>
or is it my problem? ;)
GinoManWorks has quit [Quit: Leaving]
nankyokusei has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
Mortomes|Work has quit [Ping timeout: 260 seconds]
<matthewd>
adrianS_: I just pasted that line into irb and it didn't complain
<adrianS_>
hm ...
foption has quit [Remote host closed the connection]
xit has left #ruby ["ERC (IRC client for Emacs 25.1.1)"]
Nicmavr has quit [Ping timeout: 246 seconds]
<adrianS_>
matthewd: same here indeed, I need to look deeper then ...
<adrianS_>
thanks!
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<adrianS_>
and sorry for the noise then ...
aries_liuxueyang has joined #ruby
nankyokusei has quit [Ping timeout: 246 seconds]
<apeiros>
only case I could imagine that erroring out is with multiple threads and one thread nil-ing a previously non-nil @debug_output. but that's rather unlikely to be what's happening.
<adrianS_>
yes, I doubt that also ...
darix has quit [Quit: Changing server]
<apeiros>
@debug_output might reference an object which delegates <<
<apeiros>
sadly rubys own delegator is one of the perpetrators wrt
<apeiros>
assuming you got the right line
<apeiros>
and some delegators "sanitize" the backtrace
hotpancakes has quit [Remote host closed the connection]
<mustmodify>
the line in selenium/driver.rb:13 is `@browser = Selenium::WebDriver.for(options[:browser], options.reject { |key,val | SPECIAL_OPTIONS.include?(key) })`
<mustmodify>
which doesn't seem like it would require a request.
hotpancakes has joined #ruby
juanda has quit [Ping timeout: 272 seconds]
jsrn has quit [Quit: Leaving]
SpiffTR has quit [Quit: Leaving.]
koooge_ has joined #ruby
mustmodify has left #ruby [#ruby]
Beams has quit [Quit: .]
boombox_ has joined #ruby
jackjackdripper has joined #ruby
koooge has quit [Ping timeout: 272 seconds]
SeepingN has joined #ruby
conta1 has joined #ruby
aremaref has joined #ruby
SpiffTR has joined #ruby
ledestin has joined #ruby
boombox_ has quit [Remote host closed the connection]
blackbom1 has joined #ruby
psychicist__ has quit [Ping timeout: 245 seconds]
<TomyLobo>
must uhhh, useragent?
chouhoulis has quit [Remote host closed the connection]
<TomyLobo>
not sure what cucumber is though :)
hotpancakes has quit [Remote host closed the connection]
enyo is now known as Guest58997
Guest58997 has quit [Killed (cherryh.freenode.net (Nickname regained by services))]
hotpancakes has joined #ruby
lmc has quit [Remote host closed the connection]
Satyajit has joined #ruby
siddart has joined #ruby
alxgsv has joined #ruby
enyo_ has joined #ruby
tercenya has quit []
blackbom1 has quit [Ping timeout: 248 seconds]
hotpancakes has quit [Ping timeout: 240 seconds]
gusrub has joined #ruby
_djbkd has joined #ruby
tercenya has joined #ruby
SpiffTR has quit [Quit: Leaving.]
hotpancakes has joined #ruby
mholmes has quit [Remote host closed the connection]
osboxes has joined #ruby
xall has quit [Ping timeout: 245 seconds]
LoneHerm_ has joined #ruby
enyo_ has quit [Ping timeout: 248 seconds]
_mtr has quit [Ping timeout: 248 seconds]
SpiffTR has joined #ruby
hotpancakes has quit [Ping timeout: 245 seconds]
xall has joined #ruby
brendan- has joined #ruby
tercenya has quit []
LoneHerm_ has quit [Ping timeout: 272 seconds]
BitWhisperer has joined #ruby
norkle has joined #ruby
montanonic has joined #ruby
unshadow has joined #ruby
hotpancakes has joined #ruby
norkle has quit [Changing host]
norkle has joined #ruby
lmc has joined #ruby
_mtr has joined #ruby
juanda has joined #ruby
SpiffTR has quit [Quit: Leaving.]
Rodya_ has quit [Remote host closed the connection]
psychicist__ has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
smathy has joined #ruby
xall has quit [Ping timeout: 248 seconds]
xall has joined #ruby
SpiffTR has joined #ruby
_mtr has quit [Ping timeout: 248 seconds]
flashbang has joined #ruby
centrx has joined #ruby
centrx has quit [Changing host]
centrx has joined #ruby
smathy has quit [Ping timeout: 248 seconds]
bmurt has joined #ruby
frozengeek__ has quit [Quit: frozengeek__]
SteenJobs has joined #ruby
SteenJobs has quit [Client Quit]
symm- has joined #ruby
yardenbar has joined #ruby
psychicist__ has quit [Ping timeout: 248 seconds]
gusrub has quit []
gusrub has joined #ruby
_mtr has joined #ruby
SpiffTR has quit [Quit: Leaving.]
chouhoulis has joined #ruby
Ishido has quit [Remote host closed the connection]
SteenJobs has joined #ruby
andikr has quit [Remote host closed the connection]
moted has quit []
nankyokusei has joined #ruby
Ishido has joined #ruby
SpiffTR has joined #ruby
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
gusrub has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 256 seconds]
negatifze has joined #ruby
<negatifze>
Hi guys, I've searched the google for the answer to this with no luck. What is the "=~" operator in ruby?
Puffball has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
Puffball has joined #ruby
pawnbox has joined #ruby
<apeiros>
negatifze: it's a method and as such depends on the receiver
<Mon_Ouie>
Pattern matching, often used with Regexp and Strings
<apeiros>
regex + string (either way round) it's matching
pawnbox has quit [Remote host closed the connection]
jallen123 has quit [Remote host closed the connection]
mholmes has quit [Remote host closed the connection]
jallen123 has joined #ruby
rizenine has joined #ruby
jallen123 has quit [Remote host closed the connection]
jallen123 has joined #ruby
enyo_ has joined #ruby
milardovich has joined #ruby
marr has quit [Ping timeout: 264 seconds]
whathappens has quit [Remote host closed the connection]
<porfa>
hello guys
jenrzzz has quit [Ping timeout: 246 seconds]
<porfa>
im parsing a table to a csv file, but some fields of the table need to be worked on first before being passed to the csv file, but i don’t know how to do this :)
<porfa>
i mean, probably do, just need some direction…
enyo_ has quit [Ping timeout: 248 seconds]
Macaveli has joined #ruby
negatifze has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rodya_ has joined #ruby
milardovich has quit [Ping timeout: 256 seconds]
yardenbar has joined #ruby
Rodya_ has quit [Client Quit]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
blackpajamas has joined #ruby
jackjackdripper has joined #ruby
oaklndr1 has joined #ruby
travv0 has left #ruby ["ERC (IRC client for Emacs 25.1.1)"]
brendan- has joined #ruby
yardenbar has quit [Ping timeout: 248 seconds]
dcunit3d has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
GodFather has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
jhack has quit [Ping timeout: 256 seconds]
flashbang has joined #ruby
jhack has joined #ruby
iogf has joined #ruby
jshjsh has joined #ruby
teoric has joined #ruby
_mtr has joined #ruby
negatifze has joined #ruby
teoric has quit [Client Quit]
oaklndr1 has quit [Ping timeout: 248 seconds]
jhack has quit [Ping timeout: 245 seconds]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<synbit>
hello! I am new to Ruby and I was wondering if this is the right place to ask about Ruby and AWS?
<eelster>
manveru: Ah! Thank you so much. I felt like I was going mad. That's frustratingly not well documented.
<biox>
hello rubyists! i'm caught up on something simple, if anyone could take a look at this code and let me know why it isn't functioning, i would appreciate it! (i'm using chef-shell in this example, but it also doesn't work in irb): https://hastebin.com/jahacuzeba.rb
<biox>
i'm trying to recurse over the user list and pull items out of a hashmap based on the username
<eelster>
biox: username is a string so that won't work
arthurl has quit [Ping timeout: 256 seconds]
<eelster>
biox: make users = [unixbot, funacct] instead
harai has quit [Ping timeout: 245 seconds]
<biox>
eelster: ahh right. so if i make users = [unixbot, funacct] will it initialize them as empty variables?
FastJack has joined #ruby
chouhoulis has quit [Ping timeout: 248 seconds]
carterdea has joined #ruby
<eelster>
biox: No. If the variables are not yet defined you'll have an error. Set users to [unixbox, funacct] after creating them
<biox>
eelster: ah okay, so define the hashmap first, and then put those hashmap variable-things inside of an array.
chouhoul_ has quit [Ping timeout: 272 seconds]
<eelster>
biox: Yep!
<biox>
okay, thank you! i knew it was something silly on my end.
<eelster>
biox: No worries!
<biox>
#seniordeveloper
aidalgol has joined #ruby
aidalgol is now known as Guest77670
CloCkWeRX has joined #ruby
Guest77670 is now known as aidalgol
<eelster>
biox: We all have our moments. Is ruby your first language?
maloik has quit [Remote host closed the connection]
LoneHermit has joined #ruby
maloik has joined #ruby
Azure has joined #ruby
nankyokusei has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
<biox>
eelster: it's my first real attempt - i've played with python and know a little bash, but ruby is my first 'deep dive' language.
blackbom1 has joined #ruby
<eelster>
biox: Ruby was my first. I love it so dearly