havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.1.1, 3.0.3, 2.7.5: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
polishdub has joined #ruby
polishdub has quit [Remote host closed the connection]
eldritch_ is now known as eldritch
eldritch has quit [Changing host]
eldritch has joined #ruby
teclator has joined #ruby
hanzo has joined #ruby
trillp has joined #ruby
emcb59 has joined #ruby
eddof13 has joined #ruby
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
emcb5 has quit [Ping timeout: 250 seconds]
emcb59 is now known as emcb5
Jonopoly has quit [Quit: WeeChat 3.0]
ur5us_ has joined #ruby
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mbrndtgn6 has joined #ruby
ccooke has quit [Ping timeout: 240 seconds]
ccooke has joined #ruby
mbrndtgn has quit [Ping timeout: 240 seconds]
mbrndtgn6 is now known as mbrndtgn
markong has quit [Ping timeout: 268 seconds]
michigan has quit [Quit: Connection closed for inactivity]
Rounin has quit [Ping timeout: 256 seconds]
trillp has quit [Quit: nyaa~]
factor has joined #ruby
factor has quit [Quit: The Lounge - https://thelounge.chat]
factor has joined #ruby
ur5us_ has quit [Ping timeout: 240 seconds]
hanzo has quit [Quit: Connection closed for inactivity]
_ht has joined #ruby
hd1 has joined #ruby
hd1 has left #ruby [#ruby]
emcb5 has quit [Ping timeout: 268 seconds]
emcb5 has joined #ruby
oxfuxxx has joined #ruby
_ht has quit [Remote host closed the connection]
roadie has joined #ruby
teclator has joined #ruby
roadie has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
gproto23 has joined #ruby
szkl has joined #ruby
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
Jonopoly has joined #ruby
shiru has joined #ruby
Rounin has joined #ruby
shiru has quit [Ping timeout: 252 seconds]
shiru has joined #ruby
gproto23 has quit [Quit: Leaving]
goldfish has quit [Ping timeout: 240 seconds]
oxfuxxx has quit [Ping timeout: 250 seconds]
oxfuxxx has joined #ruby
srinidhi has joined #ruby
<srinidhi> Hi! Question regarding Nokogiri - what would cause `at_css()` call to return "nil" even if the XML file I'm parsing has the element/text I'm searching for?
<srinidhi> using `at_css`, I can search for elements. but most elements return "nil" - is there any steps I should be using to debug this further?
<srinidhi> or does `at_css()` set a seek level in the XML document?
<jhass[m]> srinidhi: many reasons are possible (wrong base node you call on, bad selector, fun with XML namespaces...) Best would be if you can look into making a self contained gist that shows the input, your code, actual output and expected output
<srinidhi> sure. thank you, jhass[m]!
<srinidhi> the thing is, when I try this in an irb session, everything works as expected.
<srinidhi> but I'm parsing content in a VM mounted by guestfs-tools. Only inside that environment, it is failing.
<jhass[m]> then you're not replicating the issue exactly :)
<srinidhi> let me check if the memory is the problem
oxfuxxx has quit [Ping timeout: 240 seconds]
oxfuxxx has joined #ruby
royo25 has joined #ruby
roadie has joined #ruby
oxfuxxx has quit [Ping timeout: 256 seconds]
oxfuxxx has joined #ruby
<srinidhi> nope. I increased the memory of the VM from the default 512MB to 1024MB - but still getting "nil"
emcb5 has quit [Ping timeout: 256 seconds]
dionysus69 has joined #ruby
perrierjouet has quit [Quit: WeeChat 3.4.1]
perrierjouet has joined #ruby
oxfuxxx has quit [Ping timeout: 268 seconds]
emcb5 has joined #ruby
oxfuxxx has joined #ruby
taupiqueur has joined #ruby
perrierjouet has quit [Quit: WeeChat 3.4.1]
<srinidhi> jhass[m]: thank you for pushing me to create a test case! I figured out the problem. The thing is the script was searching the same string twice - the second call was returning a nil
<jhass[m]> Perfect, good find! :)
jimeh has quit [Remote host closed the connection]
perrierjouet has joined #ruby
jimeh has joined #ruby
Tasi has joined #ruby
oxfuxxx has quit [Quit: Yankies Motherfh@ckers C0[k Astroboys]
Jonopoly has quit [Quit: WeeChat 3.0]
perrierjouet has quit [Quit: WeeChat 3.4.1]
perrierjouet has joined #ruby
peder has quit [Ping timeout: 245 seconds]
peder has joined #ruby
perrierjouet has quit [Quit: WeeChat 3.4.1]
roadie has quit [Ping timeout: 252 seconds]
perrierjouet has joined #ruby
infinityfye has joined #ruby
srinidhi has quit [Ping timeout: 240 seconds]
roadie has joined #ruby
o|||||o has joined #ruby
markong has joined #ruby
roadie has quit [Ping timeout: 268 seconds]
srinidhi has joined #ruby
TCZ has joined #ruby
TCZ has quit [Remote host closed the connection]
TCZ has joined #ruby
roadie has joined #ruby
taupiqueur has quit [Quit: taupiqueur]
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
roadie has quit [Ping timeout: 250 seconds]
roadie has joined #ruby
<adam12> Morning
roadie has quit [Ping timeout: 252 seconds]
ivanf has joined #ruby
markong has quit [Ping timeout: 252 seconds]
TCZ has quit [Quit: Leaving]
roadie has joined #ruby
roadie has quit [Ping timeout: 245 seconds]
peder has quit [Ping timeout: 252 seconds]
szkl has quit [Quit: Connection closed for inactivity]
infinityfye has quit [Ping timeout: 256 seconds]
roadie has joined #ruby
peder has joined #ruby
<ox1eef> o/
<adam12> ox1eef: how are things
roadie has quit [Ping timeout: 268 seconds]
shiru has quit [Ping timeout: 252 seconds]
John_Ivan__ has quit [Read error: Connection reset by peer]
<ox1eef> as mondays go - pretty good. how about you?
roadie has joined #ruby
<adam12> ox1eef: About the same, thanks.
crankharder has joined #ruby
roadie has quit [Ping timeout: 250 seconds]
emcb52 has joined #ruby
crankharder has quit [Read error: Connection reset by peer]
emcb5 has quit [Ping timeout: 252 seconds]
emcb52 is now known as emcb5
fef has joined #ruby
crankharder has joined #ruby
fef has quit [Remote host closed the connection]
howdoi has joined #ruby
John_Ivan has joined #ruby
roadie has joined #ruby
infinityfye has joined #ruby
roadie has quit [Ping timeout: 240 seconds]
Guest4 has joined #ruby
Guest4 has quit [Client Quit]
roadie has joined #ruby
royo25 has quit [Quit: Bye]
<ox1eef> good to hear
Tasi_ has joined #ruby
Tasi has quit [Ping timeout: 250 seconds]
Tasi_ is now known as Tasi
gr33n7007h has quit [Ping timeout: 252 seconds]
hololeap has quit [Ping timeout: 240 seconds]
eddof13 has joined #ruby
hololeap has joined #ruby
m_antis_ has joined #ruby
m_antis has quit [Ping timeout: 252 seconds]
fef has joined #ruby
mixfix41 has joined #ruby
Tempesta has quit [Quit: See ya!]
___nick___ has joined #ruby
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
Rounin has quit [Remote host closed the connection]
Tempesta has joined #ruby
roadie has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
fef has quit [Ping timeout: 240 seconds]
Tasi has quit [Ping timeout: 240 seconds]
mixfix41 has quit [Ping timeout: 268 seconds]
whysthatso1250 has quit [Read error: Connection reset by peer]
whysthatso12507 has joined #ruby
Tasi has joined #ruby
oxfuxxx has joined #ruby
ur5us_ has joined #ruby
dionysus69 has quit [Read error: Connection reset by peer]
dionysus70 has joined #ruby
dionysus70 is now known as dionysus69
oxfuxxx has quit [Ping timeout: 240 seconds]
Tasi has quit [Quit: Leaving]
Exuma has joined #ruby
oxfuxxx has joined #ruby
___nick___ has quit [Ping timeout: 252 seconds]
oxfuxxx has quit [Ping timeout: 240 seconds]
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
TCZ has joined #ruby
infinity_fye has joined #ruby
infinity_fye has quit [Remote host closed the connection]
seabre_ has quit [Quit: ZNC 1.8.2 - https://znc.in]
infinityfye has quit [Ping timeout: 240 seconds]
seabre has joined #ruby
o|||||o has quit [Ping timeout: 268 seconds]
crankharder has quit [Ping timeout: 260 seconds]
donofrio has joined #ruby
crankharder has joined #ruby
crankharder has quit [Ping timeout: 256 seconds]
crankharder has joined #ruby
crankharder has quit [Ping timeout: 240 seconds]
crankharder has joined #ruby
crankharder has quit [Ping timeout: 252 seconds]
gr33n7007h has joined #ruby
crankharder has joined #ruby
o|||||o has joined #ruby
dionysus69 has quit [Read error: Connection reset by peer]
dionysus70 has joined #ruby
crankharder has quit [Ping timeout: 252 seconds]
dionysus70 is now known as dionysus69
crankharder has joined #ruby
crankharder has quit [Ping timeout: 252 seconds]
crankharder has joined #ruby
TCZ has quit [Quit: Leaving]
crankharder has quit [Ping timeout: 252 seconds]
pgib has quit [Ping timeout: 256 seconds]
srinidhi has quit [Ping timeout: 260 seconds]
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
crankharder has joined #ruby
ur5us_ has quit [Ping timeout: 260 seconds]
crankharder has quit [Ping timeout: 252 seconds]
dionysus69 has quit [Ping timeout: 240 seconds]
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Jonopoly has joined #ruby
hellstabber has joined #ruby
crankharder has joined #ruby
hellstabber has quit [Client Quit]
crankharder has quit [Ping timeout: 260 seconds]
Sammitch has joined #ruby
<Sammitch> hey all, we've got got postgres migrations set up with standalone_migrations, but we've run into a case where we want to import data from Redis as part of the migration. is there functionality/references for this, or do I need to manually connect to the other source in the migration code?
crankharder has joined #ruby
cybniv has quit [Quit: Powered by LunarBNC: https://LunarBNC.net]
niv has joined #ruby
crankharder has quit [Ping timeout: 252 seconds]