havenwood changed the topic of #ruby to: Ruby 3.2.2, 3.1.4, 3.3.0-preview3: https://www.ruby-lang.org | Rules: https://ruby-community.com | Logs: https://libera.irclog.whitequark.org/ruby
jenrzzz has joined #ruby
CrazyEddy has quit [Ping timeout: 260 seconds]
CrazyEddy has joined #ruby
caedmon has quit [Quit: caedmon]
caedmon has joined #ruby
CrazyEddy has quit [Remote host closed the connection]
CrazyEddy has joined #ruby
caedmon has quit [Ping timeout: 252 seconds]
constxqt_ has quit [Ping timeout: 255 seconds]
constxqt_ has joined #ruby
constxqt_ has quit [Ping timeout: 256 seconds]
constxqt_ has joined #ruby
plan260 has quit [Quit: fBNC - https://bnc4free.com]
plan260 has joined #ruby
caedmon has joined #ruby
constxqt_ has quit [Ping timeout: 256 seconds]
constxqt_ has joined #ruby
fercell_ has joined #ruby
fercell has quit [Ping timeout: 264 seconds]
caedmon has quit [Ping timeout: 255 seconds]
constxqt_ has quit [Ping timeout: 252 seconds]
caedmon has joined #ruby
caedmon has quit [Ping timeout: 268 seconds]
caedmon has joined #ruby
caedmon has quit [Client Quit]
caedmon has joined #ruby
tomtmym has joined #ruby
caedmon has quit [Ping timeout: 255 seconds]
hays has joined #ruby
CrazyEddy has left #ruby [#ruby]
CrazyEddy has joined #ruby
xkoncek has joined #ruby
CrazyEddy has quit [Remote host closed the connection]
Vonter has quit [Ping timeout: 252 seconds]
Vonter has joined #ruby
CrazyEddy has joined #ruby
grenierm has joined #ruby
mollerup has joined #ruby
mark22k6 has joined #ruby
f4z4 has quit [Ping timeout: 245 seconds]
f4z4on has joined #ruby
hexology has quit [Remote host closed the connection]
summerisle has quit [Quit: No Ping reply in 180 seconds.]
hexology has joined #ruby
ghostbuster has quit [Ping timeout: 245 seconds]
b3lm0nt has quit [Ping timeout: 245 seconds]
olus has quit [Ping timeout: 245 seconds]
nmollerup has quit [Ping timeout: 245 seconds]
mark22k has quit [Ping timeout: 245 seconds]
mark22k6 is now known as mark22k
ghostbuster has joined #ruby
summerisle has joined #ruby
olus has joined #ruby
b3lm0nt has joined #ruby
llua has quit [Ping timeout: 255 seconds]
schne1der has joined #ruby
constxqt_ has joined #ruby
Paris has joined #ruby
Linux_Kerio has joined #ruby
constxqt_ has quit [Ping timeout: 256 seconds]
Paris has quit [Quit: quit]
grenierm has quit [Ping timeout: 250 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Quit: Lost terminal]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Client Quit]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Client Quit]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Read error: Connection reset by peer]
teclator has joined #ruby
Inline has joined #ruby
Aminda has quit [Remote host closed the connection]
Aminda has joined #ruby
dviola has quit [Remote host closed the connection]
diego has joined #ruby
Aminda has quit [Remote host closed the connection]
diego is now known as Guest2312
Aminda has joined #ruby
jenrzzz_ has joined #ruby
Linux_Kerio has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
CrazyEddy has left #ruby [#ruby]
CrazyEddy has joined #ruby
Paris has joined #ruby
jenrzzz_ has quit [Read error: Connection reset by peer]
Paris has quit [Client Quit]
CrazyEddy has quit [Remote host closed the connection]
MomosOrDeath2 has joined #ruby
MomosOrDeath has quit [Ping timeout: 268 seconds]
MomosOrDeath2 is now known as MomosOrDeath
szkl has quit [Quit: Connection closed for inactivity]
Vonter has quit [Ping timeout: 255 seconds]
Vonter has joined #ruby
infinityfye has joined #ruby
___nick___ has joined #ruby
infinityfye has quit [Remote host closed the connection]
infinityfye has joined #ruby
xkoncek has quit [Ping timeout: 268 seconds]
jenrzzz_ has joined #ruby
xkoncek has joined #ruby
jenrzzz_ has quit [Ping timeout: 252 seconds]
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jenrzzz_ has joined #ruby
xkoncek has quit [Ping timeout: 252 seconds]
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
jenrzzz_ has quit [Ping timeout: 245 seconds]
jenrzzz_ has joined #ruby
Paris has joined #ruby
jenrzzz_ has quit [Ping timeout: 256 seconds]
dixan has joined #ruby
constxqt_ has joined #ruby
Aminda has quit [Remote host closed the connection]
Aminda has joined #ruby
xkoncek has joined #ruby
jenrzzz_ has joined #ruby
llua has joined #ruby
jenrzzz_ has quit [Ping timeout: 264 seconds]
Paris has quit [Quit: quit]
Aminda has quit [Remote host closed the connection]
Aminda has joined #ruby
walez_ has joined #ruby
jenrzzz_ has joined #ruby
xkoncek has quit [Ping timeout: 255 seconds]
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
jenrzzz_ has quit [Ping timeout: 252 seconds]
walez_ has quit [Remote host closed the connection]
walez_ has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 245 seconds]
caedmon has joined #ruby
teclator has joined #ruby
_whitelogger has joined #ruby
jenrzzz_ has joined #ruby
walez_ has quit [Ping timeout: 256 seconds]
xkoncek has joined #ruby
jenrzzz_ has quit [Ping timeout: 245 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 246 seconds]
Festive_Derg has quit [Quit: ZNC - https://znc.in]
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
A_Dragon has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 255 seconds]
pvalenta_ has quit [Remote host closed the connection]
pvalenta has joined #ruby
pvalenta has quit [Changing host]
pvalenta has joined #ruby
Vonter has quit [Ping timeout: 260 seconds]
walez_ has joined #ruby
Vonter has joined #ruby
markong has joined #ruby
Hobbyboy has quit [Quit: The BNC has broken!]
jenrzzz_ has joined #ruby
walez_ has quit [Remote host closed the connection]
walez_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 256 seconds]
walez_ has quit [Remote host closed the connection]
walez_ has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 264 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 264 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 255 seconds]
jenrzzz_ has joined #ruby
Paris has joined #ruby
jenrzzz_ has quit [Ping timeout: 255 seconds]
jenrzzz_ has joined #ruby
<joto> I was wondering, now that I installed Turbo in my Rails web app, where would this code need to go: window.$(function() { const $ = window.$; $("#root .toast").toast({ delay: 5000 }).toast("show"); }. It seems to not work anymore. Only when I put the "toast" functionality within an eventListener that listens for "turbo:load", it starts working
<joto> again. But I honestly don't know whether that would be best practice or just a hacky way of doing it :-).
A_Dragon is now known as Festive_Derg
jenrzzz_ has quit [Ping timeout: 245 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 245 seconds]
xlymian has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 252 seconds]
Linux_Kerio has quit [Ping timeout: 252 seconds]
Linux_Kerio has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 264 seconds]
Paris has quit [Quit: quit]
CrazyEddy has joined #ruby
markong has quit [Remote host closed the connection]
graywolf has joined #ruby
m_antis has joined #ruby
jenrzzz_ has joined #ruby
walez_ has quit [Remote host closed the connection]
walez_ has joined #ruby
caedmon has quit [Ping timeout: 255 seconds]
caedmon has joined #ruby
jenrzzz_ has quit [Ping timeout: 276 seconds]
Linux_Kerio has quit [Quit: Konversation terminated!]
Linux_Kerio has joined #ruby
Linux_Kerio has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
jenrzzz_ has joined #ruby
Rounin has quit [Remote host closed the connection]
Rounin has joined #ruby
Rounin has quit [Changing host]
Rounin has joined #ruby
jenrzzz_ has quit [Ping timeout: 256 seconds]
CrazyEddy has quit [Ping timeout: 255 seconds]
Hobbyboy has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 255 seconds]
jenrzzz_ has joined #ruby
xlymian has quit [Ping timeout: 255 seconds]
jenrzzz_ has quit [Ping timeout: 245 seconds]
jenrzzz_ has joined #ruby
swine_ has joined #ruby
<swine_> hi, i'm trying to modify an old ror codebase that's generating url addresses incorrect. i see a file that appears to define the logic for the appropriate set of routes and i see some code like this: row :results_imported do raw("#{event.results.count} results | #{link_to('Upload Data', upload_data_admin_event_url(event))}")
<swine_> i can find no other reference to "upload_data_event_admin_event_url" anywhere else in the codebase
jenrzzz_ has quit [Ping timeout: 256 seconds]
smp_ has joined #ruby
jenrzzz_ has joined #ruby
smp has quit [Ping timeout: 268 seconds]
smp_ is now known as smp
CrazyEddy has joined #ruby
jenrzzz_ has quit [Ping timeout: 260 seconds]
Linux_Kerio has quit [Ping timeout: 245 seconds]
___nick___ has quit [Ping timeout: 276 seconds]
jenrzzz_ has joined #ruby
<weaksauce> swine_ check the output of `rails routes`
<weaksauce> should have that helper listed
<swine_> weaksauce, what would i be looking for exactly?
<weaksauce> though without the _url
<weaksauce> one to see if that url helper exists
<swine_> i don't see it. i grepped through the entire codebase
<weaksauce> rails routes | grep upload_data_event_admin_event
<weaksauce> it's dynamic and not static in your codebase
<swine_> it's not there
<swine_> the output from "routes" is weird though. it's listing some files and prompting me to overwrite them
<weaksauce> how old is this?
<weaksauce> could be rake routes if it's quite old
<swine_> over a decade
<swine_> ruby 1.8.7
<swine_> Could not find rake-0.9.2.2 in any of the sources is what i see
CrazyEddy has left #ruby [#ruby]
CrazyEddy has joined #ruby
<weaksauce> bundle exec rake routes is probably what you need at that point
<weaksauce> that is super super old btw...
<swine_> same output
<weaksauce> which rails is that?
<swine_> 2.3.11 it seems
jenrzzz_ has quit [Ping timeout: 255 seconds]
<weaksauce> at this point it could be that 2.3 didn't include the url/path helpers in routes or some gem is adding it somehow
<weaksauce> i'd read the docs for 2.3 and see what's up
<weaksauce> i see the other chat is giving you basically the same advice
<swine_> yeah, i'm not really sure what to do with this advice. i don't have a lot of experience with ruby or rails. some understanding of how this stuff is generated seems like it would be helpful
<swine_> since searching through the codebase doesn't seem to yield much
<weaksauce> what file is that "row" in?
<weaksauce> the row results_imported...
<swine_> app/admin/events.rb
<weaksauce> yeah at that point it's going to be in a gem or something
<weaksauce> you can gist the gemfile and/or the output of rake routes and we might be able to help better
<swine_> i get that "could not find rake in any of the sources" message
<weaksauce> even with bundle exec?
<swine_> yes
<weaksauce> did you bundle install
xlymian has joined #ruby
<swine_> yes, perhaps the environment is incorrect
jenrzzz_ has joined #ruby
walez_ has quit [Quit: Leaving]
<swine_> no to the bundle install
<weaksauce> wait which is it? no or yes to the bundle install
<weaksauce> you need to run bundle install first
<swine_> no to the bundle install. this system appears to be running from within an nginx module
jenrzzz_ has quit [Ping timeout: 245 seconds]
r3m has quit [Quit: WeeChat 4.2.0-dev]
r3m has joined #ruby
summerisle is now known as eof
teclator has joined #ruby
Paris has joined #ruby
caedmon has quit [Ping timeout: 252 seconds]
CrazyEddy has left #ruby [#ruby]
CrazyEddy has joined #ruby
schne1der has quit [Ping timeout: 256 seconds]
<ox1eef_> swine_: That's active_admin rubygem.
<ox1eef_> It has its own API / DSL.
jenrzzz_ has joined #ruby
Paris has quit [Quit: quit]
jenrzzz_ has quit [Ping timeout: 246 seconds]
jenrzzz_ has joined #ruby
teclator has quit [Ping timeout: 255 seconds]
jenrzzz_ has quit [Ping timeout: 252 seconds]
jenrzzz_ has joined #ruby
infinityfye has quit [Quit: Leaving]
graywolf has quit [Quit: WeeChat 4.0.4]
smp has quit [Read error: Connection reset by peer]
smp has joined #ruby
jenrzzz_ has quit [Ping timeout: 255 seconds]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
jenrzzz_ has joined #ruby
xlymian has quit [Ping timeout: 260 seconds]
jenrzzz_ has quit [Ping timeout: 245 seconds]
CrazyEddy has left #ruby [#ruby]
CrazyEddy has joined #ruby
jenrzzz_ has joined #ruby
kaivai has quit [Ping timeout: 268 seconds]
jenrzzz_ has quit [Ping timeout: 245 seconds]
jenrzzz_ has joined #ruby