havenwood changed the topic of #ruby to: Ruby 3.3.0, 3.2.3, 3.1.4 https://www.ruby-lang.org | Rules https://ruby-community.com | Logs https://libera.irclog.whitequark.org/ruby
c10l has quit [Remote host closed the connection]
hightower2 has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
c10l has joined #ruby
hightower2 has joined #ruby
rvalue has quit [Ping timeout: 252 seconds]
dhruvasagar has quit [Ping timeout: 268 seconds]
hightower3 has joined #ruby
hightower2 has quit [Ping timeout: 264 seconds]
rvalue has joined #ruby
dhruvasagar has joined #ruby
phenom has quit [Ping timeout: 264 seconds]
phenom has joined #ruby
dhruvasagar has quit [Ping timeout: 268 seconds]
hightower3 has quit [Remote host closed the connection]
hightower3 has joined #ruby
shokohsc51081294 has quit [Ping timeout: 260 seconds]
nil78 has joined #ruby
hightower3 has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 264 seconds]
cek has quit [Quit: Connection closed for inactivity]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 276 seconds]
dhruvasagar has joined #ruby
szkl has quit [Quit: Connection closed for inactivity]
dhruvasagar has quit [Read error: Connection reset by peer]
crespire1 has quit [Ping timeout: 276 seconds]
nil78 has quit [Remote host closed the connection]
crespire has joined #ruby
nil78 has joined #ruby
nil78 has quit [Remote host closed the connection]
nil78 has joined #ruby
CRISPR has joined #ruby
schne1der has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
grenierm has joined #ruby
_ht has joined #ruby
mange has quit [Quit: Quittin' time!]
mark22k has quit [Quit: The Lounge - https://thelounge.chat]
mark22k has joined #ruby
mark22k has quit [Quit: The Lounge - https://thelounge.chat]
CRISPR has quit [Ping timeout: 260 seconds]
mark22k has joined #ruby
jenrzzz has joined #ruby
Vonter has quit [Ping timeout: 256 seconds]
Vonter has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
nil78 has quit [Remote host closed the connection]
nil78 has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
crespire has quit [Killed (NickServ (GHOST command used by crespire1))]
crespire1 has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
reset has joined #ruby
nil78 has quit [Remote host closed the connection]
nil78 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
jas-maelstrom has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
crivic has joined #ruby
mange has joined #ruby
jas-maelstrom has joined #ruby
Vonter has quit [Ping timeout: 260 seconds]
Vonter has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
grenierm has quit [Quit: Client closed]
thelounge182 has joined #ruby
patrick__ has joined #ruby
patrick has joined #ruby
patrick has quit [Changing host]
patrick__ is now known as patrick
patrick__ has joined #ruby
milouse has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
mange has quit [Quit: Zzz...]
nil78 has quit [Remote host closed the connection]
nil78 has joined #ruby
Aminda has quit [Remote host closed the connection]
Aminda has joined #ruby
milouse has left #ruby [#ruby]
donofrio has quit [Remote host closed the connection]
graywolf has joined #ruby
infinityfye has joined #ruby
nil78 has quit [Remote host closed the connection]
nil78 has joined #ruby
_whitelogger has joined #ruby
jenrzzz has joined #ruby
graywolf has quit [Quit: WeeChat 4.0.4]
jenrzzz has quit [Ping timeout: 268 seconds]
user71 has joined #ruby
Linux_Kerio has joined #ruby
Linux_Kerio has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
Linux_Kerio has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
crespire1 has quit [Remote host closed the connection]
crespire has joined #ruby
crespire has quit [Remote host closed the connection]
nil78 has quit [Remote host closed the connection]
nil78 has joined #ruby
crespire has joined #ruby
nil78 has quit [Remote host closed the connection]
nil78 has joined #ruby
nil78 has quit [Remote host closed the connection]
nil78 has joined #ruby
acosta6 has joined #ruby
Exagone313 has joined #ruby
Exa has quit [Ping timeout: 252 seconds]
acosta has quit [Ping timeout: 252 seconds]
acosta6 is now known as acosta
Exagone313 is now known as Exa
codeDude has joined #ruby
<codeDude> Hi there
<codeDude> I have a question about the redis client
<adam12> codeDude: Sure, what is it?
<codeDude> I got redis client was updated time ago and now it check the arguments types just like the first answer here described https://stackoverflow.com/questions/74314906/heartbeat-unsupported-command-argument-type-falseclass-redis
<codeDude> I needed to change REDIS.mset(key, true) by REDIS.mset(key, "true") and it solved the issue
<codeDude> but my question is in the unit test in rspec I have REDIS.mset(key, true) but it doesn't have erros
<codeDude> Why?
<codeDude> I mean Why the error is reproduced in the ruby on rails app but not in the unit test?
jenrzzz has joined #ruby
<adam12> codeDude: That's a good question. I am not sure. Is there any chance you've modified/monkey-patched `mset` to coerce arguments to strings?
<adam12> codeDude: ie. if you do `REDIS.method(:mset).source_location` in your app and in your spec, do they both return the same line+number?
nil78 has quit [Remote host closed the connection]
nil78 has joined #ruby
jenrzzz has quit [Read error: Connection reset by peer]
rvalue has quit [Ping timeout: 268 seconds]
rvalue has joined #ruby
___nick___ has joined #ruby
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
jenrzzz has joined #ruby
nil78 has quit [Remote host closed the connection]
nil78 has joined #ruby
<codeDude> adam12: yep it returns the same line
<adam12> codeDude: How about `Gem.loaded_specs["redis"].version` at same location as call above? Shot in the dark.
<adam12> Also, is `REDIS` the same type of class instance. `p REDIS.class` from both callsites. Maybe `REDIS` in your tests is a mock of some sort.
<adam12> It really could be a million things.
<codeDude> I see what's the thing the unit test are using a mock_redis gem
<adam12> codeDude: That's likely it.
<adam12> Fake drifted too much from the real implementation.
<codeDude> thanks for the help!!!
<adam12> codeDude: Cheers.
codeDude has quit [Quit: WeeChat 4.2.1]
szkl has joined #ruby
nil78 has quit [Remote host closed the connection]
nil78 has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
r3m has quit [Ping timeout: 276 seconds]
r3m has joined #ruby
_ht has quit [Ping timeout: 268 seconds]
Linux_Kerio has quit [Ping timeout: 276 seconds]
_ht has joined #ruby
nil78 has quit [Remote host closed the connection]
nil78 has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
nil78 has quit [Remote host closed the connection]
nil78 has joined #ruby
crivic has quit [Quit: crivic was here]
nil78 has quit [Remote host closed the connection]
nil78 has joined #ruby
___nick___ has quit [Ping timeout: 252 seconds]
_ht has quit [Quit: _ht]
jenrzzz has joined #ruby
nmollerup has joined #ruby
user71 has quit [Quit: Leaving]
nil78 has quit [Read error: Connection reset by peer]
nil78 has joined #ruby
<[0x1eef_]> adam12: How much does an error reporter usually cost ? Does self-hosting work out cheaper even as you have to host all the machinary for it as well ?
<[0x1eef_]> My main worry would be scaling a solution like that. Probably not hard but it's not even a thought with something like rollbar,sentry,etc.
m__antis has quit [Ping timeout: 240 seconds]
<[0x1eef_]> I still approve of the idea. The world would be better with less reliance on SAAS.
<adam12> [0x1eef_]: I have an entire rack of servers so I've usually already expended the $. I wouldn't self-host Sentry because it's grown into a crazy complex system. I mentioned Jeremy having one, which I'd probably try to self-host first. https://github.com/jeremyevans/kaeruera
jas-maelstrom has quit [Remote host closed the connection]
<[0x1eef_]> I'd use that or something similar too. A rails engine or even application feels a bit too heavy for something like that.
<[0x1eef_]> Although, a Rails engine would have tight integration with Rails, and could avoid a web service.
mange has joined #ruby
grenierm has joined #ruby
nil78 has quit [Remote host closed the connection]
<[0x1eef_]> I have setup a local project for deploying rubygems, only because my local umask is unusual and it gets carried over when someone installs a new gem. I wish there was toggle / setting for that - where you could define permissions of what's installed.
donofrio has joined #ruby
<[0x1eef_]> Not clear who should do it though. The packager or the person installing. Maybe the installer would be best.
nil78 has joined #ruby
nil78 has quit [Remote host closed the connection]
reset has quit [Quit: reset]
nil78 has joined #ruby
jas-maelstrom has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
nil78 has quit [Remote host closed the connection]
nil78 has joined #ruby
donofrio has quit [Read error: Connection reset by peer]
donofrio has joined #ruby
schne1der has quit [Ping timeout: 255 seconds]
Vonter has quit [Ping timeout: 240 seconds]
Vonter has joined #ruby
reset has joined #ruby