havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.7.1, 2.6.6, 2.5.8: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
leitz has quit [Remote host closed the connection]
zlogan has quit [Ping timeout: 265 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
markong has quit [Ping timeout: 264 seconds]
TCZ has quit [Quit: Leaving]
TCZ has joined #ruby
MadLamb has quit [Ping timeout: 265 seconds]
TCZ has quit [Quit: Leaving]
wildtrees has quit [Quit: Leaving]
fercell has quit [Quit: WeeChat 2.7.1]
drincruz_ has joined #ruby
drincruz_ has quit [Ping timeout: 240 seconds]
oneeggeach has joined #ruby
kotrcka has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
ur5us has quit [Ping timeout: 260 seconds]
zacts has quit [Quit: WeeChat 2.8]
zacts has joined #ruby
oneeggeach has quit [Quit: Leaving...]
donofrio has joined #ruby
ur5us has joined #ruby
golevka has quit [Read error: Connection reset by peer]
d3bug has quit [Quit: Connection closed for inactivity]
pandakekok9 has joined #ruby
_phaul has joined #ruby
phaul has quit [Ping timeout: 265 seconds]
akem_ has quit [Remote host closed the connection]
akem_ has joined #ruby
akem_ has quit [Remote host closed the connection]
d3bug has joined #ruby
pwnd_nsfw` has joined #ruby
pwnd_nsfw` has quit [Remote host closed the connection]
fierycatnet has joined #ruby
t3hyoshi has quit [Quit: ZNC - https://znc.in]
imadper has joined #ruby
cthulchu_ has quit [Ping timeout: 264 seconds]
SeepingN has quit [Ping timeout: 260 seconds]
pandakekok9 has quit [Ping timeout: 260 seconds]
lightstalker has joined #ruby
gix has joined #ruby
gigetoo has quit [Ping timeout: 256 seconds]
gigetoo has joined #ruby
gix has quit [Quit: Client exiting]
ur5us has quit [Ping timeout: 250 seconds]
r3m has quit [Quit: WeeChat 2.9-dev]
KamLy has quit [Quit: Leaving...]
r3m has joined #ruby
_whitelogger has joined #ruby
ChmEarl has quit [Quit: Leaving]
chris__ has joined #ruby
<chris__> I'm writing a RAKE script to export some data, I'm wondering how do I get a value from a related table (simple join based on foreign key/id)
<chris__> this is a ROR app
_whitelogger has joined #ruby
r3m has quit [Quit: WeeChat 2.9-dev]
r3m has joined #ruby
znz_jp has quit [Remote host closed the connection]
znz_jp has joined #ruby
dinfuehr has quit [Ping timeout: 258 seconds]
dinfuehr has joined #ruby
akem has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
akem has quit [Remote host closed the connection]
akem has joined #ruby
akem has quit [Client Quit]
lightstalker has quit [Ping timeout: 265 seconds]
lightstalker has joined #ruby
dviola has quit [Ping timeout: 260 seconds]
buckworst has joined #ruby
lightstalker has quit [Ping timeout: 265 seconds]
jetchisel has quit [Ping timeout: 265 seconds]
jetchisel has joined #ruby
lightstalker has joined #ruby
fierycatnet has quit []
d3bug has quit [Quit: Connection closed for inactivity]
ritalinona has quit [Remote host closed the connection]
ritalinona has joined #ruby
donofrio has quit [Remote host closed the connection]
fierycatnet has joined #ruby
imadper has quit [Remote host closed the connection]
markopasha has joined #ruby
markopasha has quit [Max SendQ exceeded]
markopasha has joined #ruby
keanny479 has joined #ruby
<keanny479> Hello guys
<keanny479> Im learning Ruby and the framework Rails
<keanny479> Ruby 2.7.1 is stable release, but why i get some warning when i run rails server ?
<keanny479> Can i continue with 2.7.1 or do i need to rollback to 2.7.0 ?
<keanny479> I wish to get your advices about this
<keanny479> :)
hassox has joined #ruby
buckworst has quit [Quit: WeeChat 2.8]
conta has joined #ruby
hassox has quit [Ping timeout: 258 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
fercell has joined #ruby
esrse has joined #ruby
johnny56_ has quit [Ping timeout: 256 seconds]
r3m has quit [Quit: WeeChat 2.9-dev]
sphex has quit [Ping timeout: 250 seconds]
r3m has joined #ruby
nofxx_ has joined #ruby
keanny479 has quit [Remote host closed the connection]
r3m has quit [Client Quit]
sphex has joined #ruby
r3m has joined #ruby
nofxx has quit [Ping timeout: 260 seconds]
fierycatnet has quit []
IsoLnCHiP has joined #ruby
Furai has quit [Quit: WeeChat 2.8]
zlogan has joined #ruby
schne1der has joined #ruby
<_phaul> kea... ah well, they left
sysh has joined #ruby
fyang has joined #ruby
<_phaul> chris__: do #joins ?
Furai has joined #ruby
cd has quit [Quit: cd]
fyang has quit [Remote host closed the connection]
vondruch has quit [Ping timeout: 256 seconds]
freshmaker666 has quit [Read error: Connection reset by peer]
fercell has quit [Ping timeout: 258 seconds]
freshmaker666 has joined #ruby
CrazyEddy has quit [Remote host closed the connection]
CrazyEddy has joined #ruby
dviola has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
ur5us has joined #ruby
zapata has quit [Quit: WeeChat 2.8]
lineus has quit [Ping timeout: 240 seconds]
lineus has joined #ruby
lineus has quit [Ping timeout: 240 seconds]
lineus has joined #ruby
fercell has joined #ruby
zapata has joined #ruby
akem has joined #ruby
vondruch has joined #ruby
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
jinie has joined #ruby
CrazyEddy has quit [Remote host closed the connection]
ur5us has quit [Ping timeout: 260 seconds]
rafadc has joined #ruby
sauvin has quit [Ping timeout: 258 seconds]
chalkmonster has joined #ruby
ur5us has joined #ruby
markong has joined #ruby
jmcgnh has quit [Ping timeout: 256 seconds]
aesthe has joined #ruby
markong has quit [Ping timeout: 264 seconds]
markoong has joined #ruby
jmcgnh has joined #ruby
sauvin has joined #ruby
dionysus69 has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
jingjinghack has joined #ruby
hhzza has quit [Quit: Connection closed for inactivity]
banisterfiend has joined #ruby
conta has quit [Quit: conta]
TCZ has joined #ruby
jingjing1 has joined #ruby
jingjinghack has quit [Ping timeout: 256 seconds]
CrazyEddy has joined #ruby
drincruz_ has joined #ruby
drincruz_ has quit [Ping timeout: 265 seconds]
rippa has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
miskatonic has joined #ruby
conta has joined #ruby
conta has quit [Client Quit]
gix has joined #ruby
jingjinghack has joined #ruby
jingjing1 has quit [Ping timeout: 240 seconds]
esrse has quit [Ping timeout: 260 seconds]
vondruch has quit [Ping timeout: 256 seconds]
drincruz_ has joined #ruby
johnny56_ has joined #ruby
donofrio has joined #ruby
zlogan has quit [Ping timeout: 265 seconds]
hhzza has joined #ruby
brianj has joined #ruby
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
<brianj> How would you guys get the index of the nth occurrence of a character in a string?
burningserenity has joined #ruby
rkoller has joined #ruby
sergioro has quit [Quit: leaving]
TCZ has quit [Quit: Leaving]
yxhuvud has quit [Read error: Connection reset by peer]
<CommunistWolf> brianj: of a *character* ? nothing for it but to process the whole string until you get to the n'th character
<CommunistWolf> assuming utf-8
<CommunistWolf> fixed-width encodings can do slightly better
yxhuvud has joined #ruby
_phaul has quit [Ping timeout: 256 seconds]
_phaul has joined #ruby
<CommunistWolf> how do you do streaming json in ruby?
<CommunistWolf> I just want a marshaller that will progressively dump data to an io rather than holding the whole thing in memory at once
<CommunistWolf> JSON.dump and Oj.to_stream both seem to accumulate in an internal buffer and write at the very end
TCZ has joined #ruby
<CommunistWolf> Yajl ?
rkoller has quit [Quit: Textual IRC Client: www.textualapp.com]
tpanarch1st has joined #ruby
vondruch has joined #ruby
drincruz_ has quit [Ping timeout: 256 seconds]
drincruz_ has joined #ruby
schne1der has quit [Ping timeout: 240 seconds]
burningserenity has quit [Ping timeout: 260 seconds]
<CommunistWolf> yup, yajl works
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
pwnd_nsfw has joined #ruby
<_phaul> brianj: def nth_occurance(str, n, c); ix = str.index(c); return ix if n == 1; 1 + ix + nth_occurance(str[ix+1..-1], n-1, c); end
<_phaul> rough around the edges, blows up if the char is not found, or diverges for non-positive n
jetchisel has quit [Ping timeout: 260 seconds]
jetchisel has joined #ruby
burningserenity has joined #ruby
zlogan2003 has joined #ruby
noboruma has quit [Ping timeout: 258 seconds]
miskatonic has joined #ruby
hutch has joined #ruby
Technodrome has joined #ruby
noboruma has joined #ruby
burningserenity has quit [Ping timeout: 240 seconds]
chalkmonster has quit [Quit: WeeChat 2.8]
BH23 has joined #ruby