havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.0, 2.7.2, 2.6.6: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.org | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | BLM <3
jenrzzz has quit [Ping timeout: 240 seconds]
nrh^ has joined #ruby
CrazyEddy has quit [Ping timeout: 240 seconds]
dfucci has joined #ruby
gray_-_wolf has quit [Quit: ZNC 1.7.1 - https://znc.in]
dfucci has quit [Ping timeout: 240 seconds]
Technodrome has joined #ruby
CrazyEddy has joined #ruby
gray_-_wolf has joined #ruby
Scient has quit [Ping timeout: 240 seconds]
bvdw9 has joined #ruby
stnly5 has joined #ruby
lipoqil has quit [Ping timeout: 240 seconds]
lipoqil has joined #ruby
Scient has joined #ruby
Nowaker has quit [Remote host closed the connection]
ctk has joined #ruby
turt2live has quit [Ping timeout: 246 seconds]
stnly has quit [Read error: Connection reset by peer]
JanHebler[m] has quit [Ping timeout: 265 seconds]
peder has quit [Ping timeout: 246 seconds]
bvdw has quit [Ping timeout: 240 seconds]
bvdw9 is now known as bvdw
CalimeroTeknik has quit [Ping timeout: 240 seconds]
ctk is now known as CalimeroTeknik
Hanma[m] has quit [Ping timeout: 246 seconds]
peder has joined #ruby
rprimus has quit [Ping timeout: 240 seconds]
Nowaker has joined #ruby
rprimus has joined #ruby
turt2live has joined #ruby
JanHebler[m] has joined #ruby
akz has joined #ruby
Hanma[m] has joined #ruby
jenrzzz has joined #ruby
s3nd1v0g1us has joined #ruby
mad_hatter has quit [Quit: leaving]
jhill has quit [Ping timeout: 240 seconds]
CrazyEddy has quit [Remote host closed the connection]
jhill has joined #ruby
sgen_ has quit [Ping timeout: 260 seconds]
t3hyoshi_ has joined #ruby
t3hyoshi has quit [Ping timeout: 258 seconds]
mahlon has quit [Ping timeout: 240 seconds]
mahlon has joined #ruby
woodruffw has quit [Excess Flood]
bvdw5 has joined #ruby
gix has quit [Disconnected by services]
gix- has joined #ruby
stnly51 has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
stnly5 has quit [Read error: Connection reset by peer]
bvdw5 is now known as bvdw
ua has quit [Excess Flood]
SeepingN has quit [Ping timeout: 256 seconds]
woodruffw has joined #ruby
woodruffw has joined #ruby
ua has joined #ruby
CrazyEddy has joined #ruby
Mia has joined #ruby
Axy has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
ur5us_ has quit [Ping timeout: 256 seconds]
jerme_ has quit [*.net *.split]
BuildTheRobots has quit [*.net *.split]
howdoi has quit [*.net *.split]
tvl has quit [*.net *.split]
englishm_ has quit [*.net *.split]
bthompson90 has quit [*.net *.split]
jmcgnh has quit [*.net *.split]
jokester has quit [*.net *.split]
wnd has quit [*.net *.split]
shenghi has quit [*.net *.split]
con3 has quit [*.net *.split]
ruskie has quit [*.net *.split]
dka has quit [*.net *.split]
howdoi has joined #ruby
englishm_ has joined #ruby
con3 has joined #ruby
wnd has joined #ruby
shenghi has joined #ruby
jokester has joined #ruby
bthompson90 has joined #ruby
tvl has joined #ruby
BuildTheRobots has joined #ruby
jmcgnh has joined #ruby
jerme_ has joined #ruby
ruskie has joined #ruby
dka has joined #ruby
jmcgnh has quit [Max SendQ exceeded]
cstrahan has quit [Ping timeout: 264 seconds]
bthompson90 has quit [Ping timeout: 240 seconds]
PaulB[m] has quit [Ping timeout: 240 seconds]
d10n-work_ has joined #ruby
kateskips has quit [Ping timeout: 244 seconds]
tfreedman has quit [Ping timeout: 240 seconds]
Cubixusin[m] has quit [Ping timeout: 240 seconds]
jordanh has quit [Ping timeout: 240 seconds]
serge[m] has quit [Ping timeout: 260 seconds]
hsiktas[m] has quit [Ping timeout: 260 seconds]
d10n-work has quit [Ping timeout: 265 seconds]
d10n-work_ is now known as d10n-work
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jo-so has quit [Ping timeout: 258 seconds]
Hanma[m] has quit [Ping timeout: 240 seconds]
turt2live has quit [Ping timeout: 260 seconds]
swann11[m] has quit [Ping timeout: 268 seconds]
kinduff[m] has quit [Ping timeout: 272 seconds]
cstrahan has joined #ruby
JanHebler[m] has quit [Ping timeout: 265 seconds]
gavlee has quit [Ping timeout: 246 seconds]
DanielCarlsson[m has quit [Ping timeout: 244 seconds]
gix- has quit [Ping timeout: 240 seconds]
jmcgnh has joined #ruby
Technodrome has joined #ruby
coniptor has joined #ruby
gavlee has joined #ruby
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
oddp has quit [Ping timeout: 246 seconds]
TCZ has joined #ruby
kateskips has joined #ruby
venmx_ has quit [Ping timeout: 240 seconds]
impermanence has quit [Quit: Connection closed]
serge[m] has joined #ruby
cloud69 has quit [Quit: Connection closed for inactivity]
Cubixusin[m] has joined #ruby
tfreedman has joined #ruby
baojg has joined #ruby
jordanh has joined #ruby
PaulB[m] has joined #ruby
hsiktas[m] has joined #ruby
kinduff[m] has joined #ruby
bthompson90 has joined #ruby
TCZ has quit [Remote host closed the connection]
venmx has joined #ruby
venmx has quit [Ping timeout: 265 seconds]
DanielCarlsson[m has joined #ruby
Hanma[m] has joined #ruby
swann11[m] has joined #ruby
Cubixusin[m] has quit [Ping timeout: 244 seconds]
jordanh has quit [Ping timeout: 260 seconds]
dfucci has joined #ruby
tfreedman has quit [Ping timeout: 258 seconds]
bthompson90 has quit [Ping timeout: 265 seconds]
DanielCarlsson[m has quit [Ping timeout: 240 seconds]
serge[m] has quit [Ping timeout: 246 seconds]
kinduff[m] has quit [Ping timeout: 240 seconds]
swann11[m] has quit [Ping timeout: 268 seconds]
PaulB[m] has quit [Ping timeout: 258 seconds]
kateskips has quit [Ping timeout: 258 seconds]
trautwein has joined #ruby
venmx has joined #ruby
hsiktas[m] has quit [Ping timeout: 246 seconds]
Hanma[m] has quit [Ping timeout: 260 seconds]
Rudd0^ has quit [Ping timeout: 240 seconds]
trautwein has quit [Ping timeout: 246 seconds]
venmx has quit [Ping timeout: 264 seconds]
venmx has joined #ruby
venmx has quit [Ping timeout: 260 seconds]
jo-so has joined #ruby
turt2live has joined #ruby
JanHebler[m] has joined #ruby
kateskips has joined #ruby
jordanh has joined #ruby
PaulB[m] has joined #ruby
Cubixusin[m] has joined #ruby
bthompson90 has joined #ruby
dfucci has quit [Ping timeout: 264 seconds]
akem has quit [Ping timeout: 256 seconds]
orbyt_ has joined #ruby
tfreedman has joined #ruby
swann11[m] has joined #ruby
venmx has joined #ruby
DanielCarlsson[m has joined #ruby
venmx has quit [Ping timeout: 240 seconds]
serge[m] has joined #ruby
cuerbot has quit [Read error: Connection reset by peer]
kinduff[m] has joined #ruby
elcuervo has joined #ruby
s3nd1v0g1us has quit [Ping timeout: 272 seconds]
Hanma[m] has joined #ruby
hsiktas[m] has joined #ruby
Pixi__ has joined #ruby
Tempesta_ has joined #ruby
j69 has joined #ruby
CustosLimen_ has joined #ruby
chkilroy has joined #ruby
moldorcoder7 has joined #ruby
NightMonkey has joined #ruby
iNs has quit [Remote host closed the connection]
yCrazyEdd has joined #ruby
Exagone314 has joined #ruby
iNs has joined #ruby
dorian_ has joined #ruby
cuerbot has joined #ruby
pabs_ has joined #ruby
keyvan_ has joined #ruby
LtHummus has joined #ruby
peder_ has joined #ruby
croberts_ has joined #ruby
akem has joined #ruby
cgfbee has quit [Excess Flood]
shortdudey123_ has joined #ruby
jmcgnh has quit [*.net *.split]
akz has quit [*.net *.split]
elcuervo has quit [*.net *.split]
CrazyEddy has quit [*.net *.split]
woodruffw has quit [*.net *.split]
Nowaker has quit [*.net *.split]
peder has quit [*.net *.split]
Xiti` has quit [*.net *.split]
moldorcoder7_ has quit [*.net *.split]
LtHummus_ has quit [*.net *.split]
entel has quit [*.net *.split]
factormystic has quit [*.net *.split]
CustosLimen has quit [*.net *.split]
jordanm has quit [*.net *.split]
Tempesta has quit [*.net *.split]
hiroaki has quit [*.net *.split]
NightMonkey_ has quit [*.net *.split]
llua has quit [*.net *.split]
justinmcp has quit [*.net *.split]
chkilroy_ has quit [*.net *.split]
mcspud has quit [*.net *.split]
joast has quit [*.net *.split]
meimeix has quit [*.net *.split]
croberts has quit [*.net *.split]
keyvan has quit [*.net *.split]
c0san0stra has quit [*.net *.split]
pitr has quit [*.net *.split]
dorian has quit [*.net *.split]
shortdudey123 has quit [*.net *.split]
pabs has quit [*.net *.split]
Exagone313 has quit [*.net *.split]
jmcgnh_ has joined #ruby
yCrazyEdd is now known as CrazyEddy
peder_ is now known as peder
CustosLimen_ is now known as CustosLimen
jordanm has joined #ruby
mcspud has joined #ruby
woodruffw has joined #ruby
woodruffw has joined #ruby
woodruffw has quit [Changing host]
JanHebler[m] has quit [Ping timeout: 246 seconds]
kinduff[m] has quit [Ping timeout: 240 seconds]
DanielCarlsson[m has quit [Ping timeout: 246 seconds]
jmcgnh_ is now known as jmcgnh
cgfbee has joined #ruby
factormystic has joined #ruby
serge[m] has quit [Ping timeout: 240 seconds]
hsiktas[m] has quit [Ping timeout: 265 seconds]
mahlon has quit [Ping timeout: 246 seconds]
xpitr has joined #ruby
jmcgnh is now known as jmcgnh_
jetpack_joe has quit [Ping timeout: 246 seconds]
User4587_ has quit [Ping timeout: 246 seconds]
c355e3b has quit [Ping timeout: 246 seconds]
jmcgnh_ is now known as jmcgnh
Pillus has quit [Ping timeout: 246 seconds]
justinmcp has joined #ruby
Nowaker has joined #ruby
llua has joined #ruby
meimeix has joined #ruby
Pillus has joined #ruby
c0san0stra has joined #ruby
jetpack_joe has joined #ruby
mahlon_ has joined #ruby
hiroaki has joined #ruby
entel has joined #ruby
venmx has joined #ruby
JanHebler[m] has joined #ruby
thecoffemaker has quit [Ping timeout: 240 seconds]
kinduff[m] has joined #ruby
hsiktas[m] has joined #ruby
pabs_ is now known as pabs
serge[m] has joined #ruby
DanielCarlsson[m has joined #ruby
venmx has quit [Ping timeout: 264 seconds]
thecoffemaker has joined #ruby
baojg has quit [Remote host closed the connection]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
prion has quit [Ping timeout: 264 seconds]
c355e3b has joined #ruby
Rudd0 has joined #ruby
ur5us has quit [Ping timeout: 264 seconds]
thecoffemaker has quit [Ping timeout: 272 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
cloud69 has joined #ruby
j69 has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
BTRE has quit [Ping timeout: 240 seconds]
dfucci has joined #ruby
BTRE has joined #ruby
dfucci has quit [Ping timeout: 246 seconds]
friday has joined #ruby
baojg has joined #ruby
friday has quit [Quit: leaving]
m27frogy has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 246 seconds]
thecoffemaker has joined #ruby
ChmEarl has quit [Quit: Leaving]
Tempesta_ has left #ruby ["Closing Channel, bye."]
Tempesta has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
maryo_87 has joined #ruby
kent\n has quit [Quit: No Ping reply in 180 seconds.]
kent\n has joined #ruby
ur5us has joined #ruby
rprimus has quit [Ping timeout: 256 seconds]
ua has quit [Excess Flood]
rprimus has joined #ruby
ua has joined #ruby
venmx has joined #ruby
neshpion has quit [Quit: neshpion]
venmx has quit [Ping timeout: 240 seconds]
Jello_Raptor has quit [Remote host closed the connection]
mozzarella has quit [Ping timeout: 260 seconds]
trautwein has joined #ruby
Jello_Raptor has joined #ruby
trautwein has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 246 seconds]
venmx has joined #ruby
venmx has quit [Ping timeout: 240 seconds]
blackmesa1 has joined #ruby
cloud69 has quit []
dfucci has joined #ruby
fercell has joined #ruby
factormystic has quit [Ping timeout: 260 seconds]
blackmesa has joined #ruby
blackmesa1 has quit [Ping timeout: 240 seconds]
lightstalker has quit [Ping timeout: 256 seconds]
lightstalker has joined #ruby
schaerli has joined #ruby
lightstalker has quit [Ping timeout: 246 seconds]
dfucci has quit [Ping timeout: 260 seconds]
trautwein has joined #ruby
lightstalker has joined #ruby
cadeskywalker has quit [Ping timeout: 265 seconds]
cadeskywalker has joined #ruby
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Tuor has joined #ruby
<Tuor> Hi, I can't remember, there are multiple methods which have some resemblance: select, map, reduce, and what?
<baweaver> Enumerable methods?
<leftylink> it seems difficult to understand what is meant by resemblance here. perhaps it would be easier to look at the list of Enumerable methods and see for oneself ... I was just beaten
cd has quit [Quit: cd]
dfucci has joined #ruby
<leftylink> punished for typing a long message instead of a short one
<Tuor> That's a good idea. Thank you!
<baweaver> Har
<baweaver> leftylink: Wanna read something fun?
<leftylink> "used to be a mushroom and now is a fungi" (doesn't make sense, fungi is plural)
<leftylink> anyway, I will read
Pixi__ has quit [Quit: Leaving]
crawler has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
crawler has joined #ruby
<Tuor> there are a lot of enumerable methods... map_filter, love it :)
fercell has quit [Ping timeout: 246 seconds]
fercell has joined #ruby
nofxx_ has joined #ruby
oddp has joined #ruby
nofxx__ has quit [Ping timeout: 240 seconds]
Xiti has joined #ruby
jla has joined #ruby
TomyWork has joined #ruby
ur5us has joined #ruby
venmx has joined #ruby
schaerli has quit [Ping timeout: 256 seconds]
pabs has quit [Ping timeout: 256 seconds]
venmx has quit [Ping timeout: 264 seconds]
fercell has quit [Ping timeout: 240 seconds]
coniptor has quit [Ping timeout: 256 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
fercell has joined #ruby
coniptor has joined #ruby
venmx has joined #ruby
venmx has quit [Ping timeout: 246 seconds]
ur5us has quit [Ping timeout: 256 seconds]
jla has quit [Ping timeout: 256 seconds]
<phaul> &list Enumerable#%
<rubydoc> Enumerable#all?, Enumerable#any?, Enumerable#chain, Enumerable#chunk, Enumerable#chunk_while, Enumerable#collect, Enumerable#collect_concat, Enumerable#count, Enumerable#cycle, Enumerable#detect, Enumerable#drop, Enumerable#drop_while, Enumerable#each_cons, Enumerable#each_entry, Enumerable#each_slice,...
schne1der has joined #ruby
kateskips has quit [Quit: Idle for 30+ days]
vondruch_ has joined #ruby
vondruch has quit [Ping timeout: 246 seconds]
vondruch_ is now known as vondruch
teclator has joined #ruby
rzjian has joined #ruby
blackwhale has joined #ruby
creat has quit [Ping timeout: 272 seconds]
creat_ has joined #ruby
j69 has joined #ruby
j69 has quit [Client Quit]
schaerli has joined #ruby
blackwhale has quit [Remote host closed the connection]
blackwhale has joined #ruby
ta has quit [Quit: WeeChat 2.9]
ta has joined #ruby
postmodern has quit [Quit: Leaving]
fanta1 has joined #ruby
venmx has joined #ruby
rzjian has quit [Quit: WeeChat 3.0]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
arahael1 has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Arahael has quit [Ping timeout: 264 seconds]
cloud69 has joined #ruby
naftilos76 has joined #ruby
makara1 has joined #ruby
<naftilos76> Hi everyone, is there a way to tell the name of the script that is calling a method? Basically i am looking for a way to tell, while being inside a method not located in the script, the name of the calling script. __FILE__ works fine only if you are looking for the name of the file that the __FILE__ statement is located!
<makara1> hi. I'm trying to grab the last segment of a string in an erb template. So `codeTableClass = "#{codeTable}"` where codeTableClass is a.b.c.d and I want d
<makara1> does this make sense? `codeTableClass = "#{codeTable}.split(".")[-1]"`
<naftilos76> try it
<makara1> irb says unexpected literal: Class = "#{codeTable}.split(".")[-1]"
<naftilos76> so you have a string "a.b.c.d" and you want to get d?
<makara1> im getting mixed up. `codeTableClass = codeTable.split(".")[-1]`
<makara1> print codeTableclass gives me "nil"
<makara1> naftilos76: yes
<naftilos76> what does d look like?
<naftilos76> is it a string or just "d" ?
<makara1> nothing
<makara1> jsut d
<wnd> naftilos76, if you run out of better options, you may want to take a look Kernel.caller
<makara1> ok it works
<makara1> haven't used ruby for ages
<naftilos76> if you are dealing with a string "a.b.c.d" then one way to get d is to do "string".split(".")[-1]
<naftilos76> if the string is indeed "a.b.c.d" then it should work
<naftilos76> or you could used regex
<naftilos76> "a.b.c.d".match(/[a-z]\.[a-z]\.[a-z]\.([a-z])/)[1]
<naftilos76> wnd: thanks
jenrzzz has quit [Ping timeout: 260 seconds]
klaas has quit [Quit: ZNC 1.8.2 - https://znc.in]
Rounin has joined #ruby
nrh^ has quit []
klaas has joined #ruby
Technodrome has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
jla has joined #ruby
baojg has quit [Remote host closed the connection]
Axy has joined #ruby
trautwein1 has joined #ruby
trautwein has quit [Ping timeout: 240 seconds]
Mia has quit [Ping timeout: 265 seconds]
<adam12> naftilos76: could try going through Kernel.caller_locations
<adam12> naftilos76: Alternatively, binding_of_caller might let you get it with something like binding_of_caller.eval("__FILE__") or smething.
somazero has joined #ruby
<naftilos76> adam12: thanks will look into it
somazero has quit [Max SendQ exceeded]
somazero has joined #ruby
somazero has quit [Quit: Leaving]
jenrzzz has joined #ruby
fanta1 has quit [Quit: fanta1]
jenrzzz has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 264 seconds]
m27frogy has joined #ruby
TCZ has joined #ruby
Milos has quit [Quit: ZNC 1.8.2 - https://znc.in]
Milos has joined #ruby
ua has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jla has quit [Ping timeout: 272 seconds]
alexherbo2 has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
Edomaia6 has joined #ruby
orbyt_ has joined #ruby
ua has joined #ruby
schaerli_ has joined #ruby
linoge has joined #ruby
<alexherbo2> Hello
<alexherbo2> what is the best way to implement #update of active record?
schaerli has quit [Ping timeout: 240 seconds]
<alexherbo2> currently, I have a public #save method calling the private methods #create or #update, depending if the @id has been set.
<alexherbo2> for doing the sql
linuus[m] has joined #ruby
<TheBrayn> I think there is a rails IRC channel which is more tailored towards these kinds of questions
<TheBrayn> #rubyonrails
<alexherbo2> I would like my #update method to look like my .create (delegating to .new + #save)
<adam12> alexherbo2: It looks OK to me. You could get fancy and hve some sort of attribute diffing to save an unnecessary SQL query for no changes.
<alexherbo2> I can modify my private #update method for having arguments, but I feel like my #update will do too much work, as I initially have #create and #update private just to do the sql work called by #save
akem has quit [Remote host closed the connection]
<alexherbo2> pokemon.update(name: 'Pika')
akem has joined #ruby
<alexherbo2> adam12: how would you write the #update(index:, name:) method?
<alexherbo2> It could be nice my #update be short like the .create
<alexherbo2> i.e. updating the index and name attributes, and calling #save
<alexherbo2> but I'm not sure where to put the sql code
jla has joined #ruby
<alexherbo2> adam12: do you think I should remove the private #create and #update and put the whole code back in #save, so that I have the namespace #update to do: update pokemon name/index, and all save.
<alexherbo2> call*
<adam12> alexherbo2: I'm not sure what you're really optimizing for. Just because you were able to delegate .create doesn't mean you can delegate #update
Emmanuel_Chanel has quit [Ping timeout: 256 seconds]
<alexherbo2> .create and #update look a bit similar, they take attributes to set the object properties and call #save to store in the db, so I was tend to see a parallel in the implem
<adam12> Ah.
<adam12> I don't have any ideas right now, tbh.
Cubixusin[m] has quit [*.net *.split]
PaulB[m] has quit [*.net *.split]
Furai has quit [*.net *.split]
JoL1hAHN has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
tosaraja has quit [*.net *.split]
mnemon has quit [*.net *.split]
Rush has quit [*.net *.split]
JanHebler[m] has quit [*.net *.split]
bthompson90 has quit [*.net *.split]
jordanh has quit [*.net *.split]
bvdw has quit [*.net *.split]
shaman42 has quit [*.net *.split]
Iambchop has quit [*.net *.split]
ec has quit [*.net *.split]
ghormoon has quit [*.net *.split]
snapcase has quit [*.net *.split]
yokel has quit [*.net *.split]
Furai has joined #ruby
PaulB[m] has joined #ruby
Cubixusin[m] has joined #ruby
JoL1hAHN has joined #ruby
tosaraja has joined #ruby
Kilo`byte has joined #ruby
mnemon has joined #ruby
Rush has joined #ruby
Furai has quit [Max SendQ exceeded]
Kilo`byte has quit [Max SendQ exceeded]
bthompson90 has joined #ruby
jordanh has joined #ruby
bvdw has joined #ruby
JanHebler[m] has joined #ruby
Iambchop has joined #ruby
shaman42 has joined #ruby
snapcase has joined #ruby
ec has joined #ruby
yokel has joined #ruby
ghormoon has joined #ruby
yokel has quit [Max SendQ exceeded]
ghormoon has quit [Max SendQ exceeded]
bthompson90 has quit [Max SendQ exceeded]
bvdw has quit [Max SendQ exceeded]
Kilo`byte has joined #ruby
Furai has joined #ruby
ghormoon has joined #ruby
yokel_ has joined #ruby
bvdw4 has joined #ruby
yokel_ is now known as yokel
Jello_Raptor has quit [Ping timeout: 246 seconds]
klaas has quit [*.net *.split]
hsiktas[m] has quit [*.net *.split]
jo-so has quit [*.net *.split]
znz_jp has quit [*.net *.split]
phaul has quit [*.net *.split]
rubydoc has quit [*.net *.split]
iamgr00t has quit [*.net *.split]
nemesit|znc has quit [*.net *.split]
Fusl has quit [*.net *.split]
lightstalker has quit [Ping timeout: 267 seconds]
itok has quit [Ping timeout: 267 seconds]
PaulB[m] has quit [Ping timeout: 244 seconds]
rubydoc has joined #ruby
jo-so has joined #ruby
klaas has joined #ruby
znz_jp has joined #ruby
Fusl has joined #ruby
phaul has joined #ruby
nemesit|znc has joined #ruby
iamgr00t has joined #ruby
tfreedman has quit [Ping timeout: 240 seconds]
jordanh has quit [Ping timeout: 265 seconds]
Fusl has quit [Max SendQ exceeded]
klaas has quit [Max SendQ exceeded]
kinduff[m] has quit [Ping timeout: 240 seconds]
linuus[m] has quit [Ping timeout: 240 seconds]
Fusl has joined #ruby
klaas has joined #ruby
Cubixusin[m] has quit [Ping timeout: 244 seconds]
Hanma[m] has quit [Ping timeout: 260 seconds]
swann11[m] has quit [Ping timeout: 260 seconds]
turt2live has quit [Ping timeout: 260 seconds]
itok has joined #ruby
JanHebler[m] has quit [Ping timeout: 265 seconds]
jo-so has quit [Ping timeout: 258 seconds]
ec has quit [Ping timeout: 265 seconds]
Jello_Raptor has joined #ruby
dviola has quit [Ping timeout: 272 seconds]
lightstalker has joined #ruby
sagax has joined #ruby
dviola has joined #ruby
serge[m] has quit [Ping timeout: 246 seconds]
ec has joined #ruby
DanielCarlsson[m has quit [Ping timeout: 260 seconds]
Emmanuel_Chanel has joined #ruby
dviola has left #ruby ["WeeChat 3.0"]
dviola has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TCZ has quit [Remote host closed the connection]
vondruch has quit [Ping timeout: 256 seconds]
lucasb has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kinduff[m] has joined #ruby
schaerli_ has quit [Ping timeout: 264 seconds]
linuus[m] has joined #ruby
Technodrome has joined #ruby
yxhuvud has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
kinduff[m] has quit [Ping timeout: 244 seconds]
linuus[m] has quit [Ping timeout: 260 seconds]
yxhuvud has joined #ruby
weaksauce has quit [Ping timeout: 272 seconds]
jla has quit [Ping timeout: 240 seconds]
trautwein2 has joined #ruby
trautwein1 has quit [Ping timeout: 246 seconds]
makara1 has quit [Ping timeout: 256 seconds]
serge[m] has joined #ruby
vondruch has joined #ruby
jenrzzz has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
factormystic has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
sgen_ has joined #ruby
schaerli has joined #ruby
kristian_on_linu has joined #ruby
bambanx has joined #ruby
prepend has joined #ruby
Hanma[m] has joined #ruby
DanielCarlsson[m has joined #ruby
tfreedman has joined #ruby
jordanh has joined #ruby
jo-so has joined #ruby
bthompson90 has joined #ruby
Cubixusin[m] has joined #ruby
hsiktas[m] has joined #ruby
JanHebler[m] has joined #ruby
PaulB[m] has joined #ruby
turt2live has joined #ruby
linuus[m] has joined #ruby
kinduff[m] has joined #ruby
swann11[m] has joined #ruby
elcuervo has joined #ruby
cuerbot has quit [Ping timeout: 256 seconds]
joast has joined #ruby
al2o3-cr has quit [Quit: WeeChat 3.0]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
al2o3-cr has joined #ruby
trautwein2 has quit [Ping timeout: 268 seconds]
schne1der has quit [Ping timeout: 264 seconds]
ChmEarl has joined #ruby
ritsch_master has joined #ruby
jla has joined #ruby
orbyt_ has joined #ruby
makara1 has joined #ruby
cowgomoo has quit [Remote host closed the connection]
fercell has quit [Ping timeout: 246 seconds]
fercell has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
ua has quit [Ping timeout: 264 seconds]
fercell has quit [Quit: WeeChat 3.0]
arahael1 is now known as Arahael
vondruch has quit [Read error: Connection reset by peer]
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
cacheerror has joined #ruby
ua has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
stryek has joined #ruby
schaerli has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
akem_ has joined #ruby
akem has quit [Ping timeout: 272 seconds]
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
gueorgui has quit [Ping timeout: 260 seconds]
howdoi has joined #ruby
cd has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ritsch_master has quit [Remote host closed the connection]
kristian_on_linu has quit [Remote host closed the connection]
Mrgoose has quit [Ping timeout: 260 seconds]
makara1 has quit [Ping timeout: 264 seconds]
postmodern has joined #ruby
asdasdzzzzzz has joined #ruby
<asdasdzzzzzz> Hi guys. I am new to ruby on rails and I'm currently working on a react/rails app using webpack. Right now I want to deploy my app on heroku but I do not know the proper configuration to deploy it correctly. I have tried to deploy to heroku and only the backend works. Do you guys have any suggestions? :)
<adam12> asdasdzzzzzz: Not much to go on. Frontend never loads? Frontend can't talk to backend?
<asdasdzzzzzz> It loads, but it looks awful and it seems that my dependencies are not installed
<adam12> asdasdzzzzzz: Errors in browser dev console?
<adam12> Either paths are wrong or no asset precompile happened.
maryo has joined #ruby
bambanx has quit [Quit: Leaving]
naftilos76 has quit [Quit: Leaving]
maryo_87 has quit [Ping timeout: 264 seconds]
<asdasdzzzzzz> So, how can I check if the paths are correct or not, or that no asset precompile happend. And how can I compile it? And thank you for your time :)
<asdasdzzzzzz> About the errors in my console. I do not have errors
<adam12> asdasdzzzzzz: Can you share your Heroku URL?
blackmesa has joined #ruby
<apotheon> It doesn't even show anything without scripting turned on in the browser.
elxbarbosa has joined #ruby
<adam12> asdasdzzzzzz: Config looks OK. Seems like a JS issue. Maybe add `defer` to your script tags.
croberts_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<baweaver> If you like pattern matching this is going to be a fun read: https://twitter.com/keystonelemur/status/1355243391211204610
<asdasdzzzzzz> Ok. In which script tag I should add 'defer', and why?
makara1 has joined #ruby
<adam12> asdasdzzzzzz: I don't know. But my guess is that the script tag loads, the DOM isn't ready, so it just skips booting your React app. Deferring the script tag will wait for the DOM to be ready.
<adam12> asdasdzzzzzz: But without errors and anything looking wrong, your guess is as good as mine :)
blackmesa has quit [Ping timeout: 265 seconds]
blackmesa has joined #ruby
Rudd0 has quit [Ping timeout: 246 seconds]
Technodrome has joined #ruby
mahlon_ has quit [Quit: WeeChat 3.0]
mahlon has joined #ruby
Edomaia6 has quit [Quit: Ping timeout (120 seconds)]
maryo has quit [Ping timeout: 240 seconds]
fandre1986 has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
neshpion has joined #ruby
dfucci has quit [Ping timeout: 246 seconds]
gix has joined #ruby
fandre1986 has quit [Ping timeout: 240 seconds]
blackmesa has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
weaksauce has joined #ruby
dfucci has joined #ruby
Edomaia6 has joined #ruby
dinfuehr_ has quit [Ping timeout: 264 seconds]
dinfuehr has joined #ruby
jla has quit [Ping timeout: 256 seconds]
neshpion has quit [Quit: neshpion]
dfucci has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
jla has joined #ruby
jla has quit [Ping timeout: 246 seconds]
jla has joined #ruby
dfucci has joined #ruby
Taserface has joined #ruby
asdasdzzzzzz has quit [Quit: Leaving]
dfucci has quit [Ping timeout: 260 seconds]
Eiam has quit [Quit: (╯°□°)╯︵ ǝpouǝǝɹɟ]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
Axy has quit [Ping timeout: 240 seconds]
stryek has quit []
neshpion has joined #ruby
jla has quit [Ping timeout: 256 seconds]
blackmesa has quit [Ping timeout: 264 seconds]
Eiam has joined #ruby
Rudd0 has joined #ruby
neshpion has quit [Quit: neshpion]
blackwhale has quit [Ping timeout: 246 seconds]
istrasci has joined #ruby
<istrasci> Hello all, is there a way to check that a Hash has a key and the value is truthy that is quicker than `hash.key?(:key) && hash[:key]`?  Or is checking `hash[:key]` enough?
<Taserface> simply `hash[:key]` does that
<Taserface> (if in doubt, try it in a RPEL)
<Taserface> (*REPL)
ur5us has quit [Quit: Leaving]
neshpion has joined #ruby
claw has quit [Read error: Connection reset by peer]
ruby[bot] has quit [Remote host closed the connection]
madhatter has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
claw has joined #ruby
linoge has quit [Remote host closed the connection]
mozzarella has joined #ruby
hiroaki has quit [Ping timeout: 264 seconds]
madhatter has joined #ruby
makara1 has quit [Ping timeout: 240 seconds]
dfucci has joined #ruby
dfucci has quit [Ping timeout: 264 seconds]