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
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
<AndreYuhai> I think I should rephrase my question as, I've got a class which authenticates from a website. If I use sidekiq then it will have to authenticate again and again since it creates a new instance with perform_async, but I want to re-use the already authenticated class. Basically I want a few threads to have this class initiated and authenticated and re-use it. How could I do that?
<AndreYuhai> Maybe include Celluloid in my class and then create a pool?
<havenwood> AndreYuhai: If you want async I/O, use Async. If you want concurrent processing, use multiple processes, or Ractors.
<havenwood> AndreYuhai: Playing speed chess so I'll read in a sec. :)
coniptor has quit [Ping timeout: 246 seconds]
<havenwood> AndreYuhai: That sounds like a connection pool.
<AndreYuhai> I want concurrency so that things can get faster otherwise it will take too long to finish with only one instance.
<havenwood> AndreYuhai: Is it CPU bound?
<AndreYuhai> No
<havenwood> AndreYuhai: The author of Sidekiq wrote a very nice connection pool gem.
<havenwood> AndreYuhai: But I guess you're looking for parallel I/O, so I'd think use Async with fiber-backed concurrency.
<havenwood> AndreYuhai: Are you familiar with the Ruby 3 Async family of gems?
xf3rno has quit [Quit: WeeChat 3.0]
<havenwood> AndreYuhai: https://github.com/socketry
<AndreYuhai> havenwood, In the example for connection pool, each thread has it's own Dalli::Client, right?
<havenwood> AndreYuhai: Yes.
<AndreYuhai> havenwood, no I am not but I can learn. It's always good to learn new stuff :D
<AndreYuhai> havenwood, Oh I think that might work for me as well
<havenwood> AndreYuhai: This is the Async connection pool: https://github.com/socketry/async-pool#usage
<havenwood> AndreYuhai: It's backed by Fibers rather than Threads.
<AndreYuhai> havenwood, What's the difference?
<havenwood> AndreYuhai: The latter hasn't been around as long and is lighter weight.
<havenwood> AndreYuhai: The former is battle tested.
<havenwood> AndreYuhai: Both are top knotch.
<AndreYuhai> Alright thank you! I will give these a try tomorrow. Gotta go to sleep now as it's already midnight here. :D
<AndreYuhai> Have a nice day!
xf3rno has joined #ruby
<weaksauce> oof what a brainfart. read
<weaksauce> (somebytelength) blocks until it can read
xf3rno has quit [Client Quit]
coniptor has joined #ruby
AndreYuhai has quit [Quit: Leaving]
xf3rno has joined #ruby
brunosaboia_ has quit [Quit: This computer has gone to sleep]
dhollinger has quit [Ping timeout: 246 seconds]
dhollinger has joined #ruby
xf3rno has quit [Quit: WeeChat 3.0]
LtHummus has quit [Quit: ZNC 1.8.2 - https://znc.in]
CommunistWolf is now known as CapitalistWolf
CapitalistWolf is now known as lupine
lupine is now known as CommunistWolf
LtHummus has joined #ruby
coniptor has quit [Ping timeout: 264 seconds]
roshanavand has quit [Ping timeout: 240 seconds]
coniptor has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
venmx has joined #ruby
chouhoulis has quit [Remote host closed the connection]
prepend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
dan64- has quit [Quit: ZNC - http://znc.in]
jenrzzz has quit [Ping timeout: 246 seconds]
venmx has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
postmodern has joined #ruby
bambanx has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 264 seconds]
venmx has joined #ruby
coniptor has quit [Ping timeout: 272 seconds]
nertzy has joined #ruby
jenrzzz has joined #ruby
venmx has quit [Ping timeout: 264 seconds]
coniptor has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
gueorgui_ has joined #ruby
neonloop has quit [Quit: bye]
jenrzzz has quit [Ping timeout: 246 seconds]
gueorgui has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
neonloop has joined #ruby
nertzy has quit [Quit: Leaving]
nertzy has joined #ruby
nertzy has quit [Client Quit]
nertzy has joined #ruby
nertzy has quit [Client Quit]
jenrzzz has quit [Ping timeout: 246 seconds]
nertzy has joined #ruby
neonloop has left #ruby ["User left"]
neonloop has joined #ruby
jenrzzz has joined #ruby
venmx has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
venmx has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
jpz has quit [Ping timeout: 260 seconds]
Rounin has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
Azure|dc has joined #ruby
nirix has quit [Ping timeout: 256 seconds]
MuffinPimp has quit [Ping timeout: 256 seconds]
tomaw has quit [Quit: Quitting]
nirix_ has joined #ruby
roger_rabbit has quit [Ping timeout: 256 seconds]
MuffinPimp has joined #ruby
tomaw has joined #ruby
Azure has quit [Ping timeout: 256 seconds]
roger_rabbit has joined #ruby
jenrzzz has joined #ruby
neonloop has quit [Quit: issued !quit command]
coniptor has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
coniptor has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jpz has joined #ruby
Technodrome has joined #ruby
_whitelogger has joined #ruby
ur5us_ has joined #ruby
ChmEarl has quit [Quit: Leaving]
coniptor has quit [Ping timeout: 256 seconds]
neonloop has joined #ruby
oneeggeach has joined #ruby
oneeggeach has quit [Client Quit]
jenrzzz has quit [Ping timeout: 256 seconds]
coniptor has joined #ruby
jenrzzz has joined #ruby
_whitelogger has joined #ruby
dan64 has joined #ruby
neonloop has quit [Quit: issued !quit command]
neonloop has joined #ruby
gix has joined #ruby
gix- has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
m27frogy_ has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
ByronJohnson has quit [Ping timeout: 240 seconds]
venmx has joined #ruby
meinside has joined #ruby
ByronJohnson has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
venmx has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
_whitelogger has joined #ruby
coniptor has quit [Ping timeout: 264 seconds]
coniptor has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
coniptor has quit [Ping timeout: 256 seconds]
venmx has joined #ruby
coniptor has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
venmx has quit [Ping timeout: 272 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
ur5us_ has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
kwilczynski has quit [Ping timeout: 258 seconds]
jimcroft has quit [Ping timeout: 264 seconds]
d0liver has quit [Ping timeout: 260 seconds]
d0liver has joined #ruby
jimcroft has joined #ruby
kwilczynski has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
coniptor has quit [Ping timeout: 256 seconds]
ansimita has joined #ruby
baojg has joined #ruby
coniptor has joined #ruby
baojg has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
baojg has joined #ruby
jenrzzz has joined #ruby
xco has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
xco has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jl4 has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
coniptor has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
nofxx_ has joined #ruby
nofxx__ has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
coniptor has joined #ruby
venmx has joined #ruby
jenrzzz has joined #ruby
venmx has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
MuffinPimp_ has joined #ruby
MuffinPimp has quit [Ping timeout: 256 seconds]
tomaw has quit [Quit: Quitting]
tomaw has joined #ruby
MuffinPimp_ is now known as MuffinPimp
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_whitelogger has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
Caerus has quit [Ping timeout: 256 seconds]
Caerus has joined #ruby
jenrzzz has joined #ruby
Guest47007 has joined #ruby
Guest47007 has quit [Quit: Konversation terminated!]
jenrzzz has quit [Ping timeout: 256 seconds]
baojg has quit [Remote host closed the connection]
so1e[m] has quit [Quit: Idle for 30+ days]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
akem has quit [Remote host closed the connection]
venmx has joined #ruby
coniptor has quit [Ping timeout: 256 seconds]
venmx has quit [Ping timeout: 264 seconds]
kentnl has quit [Remote host closed the connection]
kent\n has joined #ruby
akem has joined #ruby
coniptor has joined #ruby
kent\n has quit [Ping timeout: 264 seconds]
kentnl has joined #ruby
mozzarella has quit [Read error: Connection reset by peer]
kentnl is now known as kent\n
Technodrome has joined #ruby
jenrzzz has joined #ruby
cd has quit [Quit: cd]
maryo has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
viporli has joined #ruby
akem has quit [Ping timeout: 246 seconds]
akem has joined #ruby
viporli has quit [Ping timeout: 256 seconds]
maryo has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
mozzarella has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
dhanesh has joined #ruby
dhanesh has quit [Quit: Leaving]
coniptor has quit [Ping timeout: 265 seconds]
jinie_ has joined #ruby
jenrzzz has joined #ruby
jinie has quit [Ping timeout: 264 seconds]
jinie has joined #ruby
jinie_ has quit [Ping timeout: 240 seconds]
coniptor has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
DTZUZU has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
jenrzzz has quit [Ping timeout: 256 seconds]
venmx has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
venmx has quit [Ping timeout: 240 seconds]
brunosaboia_ has joined #ruby
xf3rno has joined #ruby
chouhoulis has joined #ruby
coniptor has quit [Ping timeout: 256 seconds]
ansimita has left #ruby [#ruby]
chouhoulis has quit [Ping timeout: 260 seconds]
coniptor has joined #ruby
m27frogy has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
coniptor has quit [Ping timeout: 256 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
cuerbot has quit [Read error: Connection reset by peer]
elcuervo has joined #ruby
coniptor has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoulis has joined #ruby
brunosaboia_ has quit [Quit: Leaving]
Rudd0 has quit [Ping timeout: 246 seconds]
hassox_ has joined #ruby
akem has quit [Remote host closed the connection]
venmx has joined #ruby
hassox has quit [Ping timeout: 260 seconds]
venmx has quit [Ping timeout: 246 seconds]
Azure|dc has quit [Read error: Connection reset by peer]
Azure has joined #ruby
venmx has joined #ruby
Axy has joined #ruby
Axy has quit [Read error: Connection reset by peer]
Axy has joined #ruby
Mia has quit [Ping timeout: 246 seconds]
venmx has quit [Ping timeout: 246 seconds]
Mia has joined #ruby
Mia has joined #ruby
akem has joined #ruby
Axy has quit [Ping timeout: 256 seconds]
Axy has joined #ruby
Axy has joined #ruby
Mia has quit [Ping timeout: 256 seconds]
AndreYuhai has joined #ruby
mic_e_ has joined #ruby
<AndreYuhai> Hey there, how can I change the name for a has_and_belongs_to_many relationship? I need to pass the class name as a symbol but can I not use some other symbol which is shorter?
<AndreYuhai> What I want to achieve is : has_and_belongs_to_many :actual_long_class_name -> has_and_belongs_to_many :short_name
<AndreYuhai> maybe an alias?
<AndreYuhai> Oh alias is for methods
jenrzzz has joined #ruby
coniptor has quit [Ping timeout: 240 seconds]
<AndreYuhai> Oh got it! ":class_name". Read the docs ¯\_(ツ)_/¯
jenrzzz has quit [Ping timeout: 256 seconds]
coniptor has joined #ruby
Axy has quit [Read error: Connection reset by peer]
Axy has joined #ruby
Axy has joined #ruby
coniptor has quit [Ping timeout: 265 seconds]
Technodrome has joined #ruby
zapata has quit [Quit: WeeChat 3.0]
coniptor has joined #ruby
xf3rno has quit [Quit: WeeChat 2.8]
venmx has joined #ruby
venmx has quit [Ping timeout: 246 seconds]
lucasb has joined #ruby
goepsilongo has joined #ruby
_merlim_ has joined #ruby
<_merlim_> how is that I do get the same result from this ruby snipet: signature = HMAC::SHA256.hexdigest(secret, message).upcase with the command line openssl tool ?
alexherbo2 has joined #ruby
jl4 has quit [Ping timeout: 246 seconds]
Fire-Dragon-DoL has quit [Ping timeout: 260 seconds]
coniptor has quit [Ping timeout: 265 seconds]
hiroaki has joined #ruby
Fire-Dragon-DoL has joined #ruby
Andre has joined #ruby
Andre is now known as Guest95998
coniptor has joined #ruby
AndreYuhai has quit [Ping timeout: 256 seconds]
coniptor has quit [Ping timeout: 265 seconds]
lightstalker has quit [Read error: Connection reset by peer]
lightstalker has joined #ruby
coniptor has joined #ruby
roshanavand has joined #ruby
_merlim_ has quit [Quit: Connection closed]
jenrzzz has joined #ruby
Mia has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
roshanavand1 has joined #ruby
alexherbo23 has joined #ruby
Rudd0 has joined #ruby
_merlim_ has joined #ruby
m27frogy has quit [Ping timeout: 256 seconds]
Caerus has quit [Ping timeout: 256 seconds]
endorama has quit [Ping timeout: 256 seconds]
m27frogy has joined #ruby
roshanavand has quit [Read error: Connection reset by peer]
roshanavand1 is now known as roshanavand
Caerus has joined #ruby
alexherbo2 has quit [Ping timeout: 256 seconds]
Axy has quit [Ping timeout: 256 seconds]
alexherbo23 is now known as alexherbo2
_merlim_ has quit [Client Quit]
jenrzzz has joined #ruby
endorama has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
coniptor has quit [Ping timeout: 264 seconds]
coniptor has joined #ruby
xf3rno has joined #ruby
jenrzzz has joined #ruby
venmx has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
venmx has quit [Ping timeout: 240 seconds]
ChmEarl has joined #ruby
CommunistWolf is now known as CapitalistWolf
CapitalistWolf is now known as CommunistWolf
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
cd has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
GodFather has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
coniptor has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 256 seconds]
coniptor has joined #ruby
goepsilongo has quit [Read error: Connection reset by peer]
neonloop has quit [Read error: Connection reset by peer]
MzrE has joined #ruby
neonloop has joined #ruby
yokel has quit [Ping timeout: 240 seconds]
yokel has joined #ruby
jenrzzz has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 246 seconds]
Iarfen has joined #ruby
jl4 has joined #ruby
MzrE has quit [Quit: Leaving]
howdoi has quit [Quit: Connection closed for inactivity]
Technodrome has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
venmx has joined #ruby
prestorium has joined #ruby
venmx has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
orbyt_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
coniptor has quit [Ping timeout: 256 seconds]
Guest95998 has quit [Quit: Leaving]
AndreYuhai has joined #ruby
_merlim_ has joined #ruby
<AndreYuhai> Hey there, is there any method in ActiveRecord that returns the existing record when trying to save a duplicate one?
coniptor has joined #ruby
<AndreYuhai> find_or_create_by
gdonald has quit [Ping timeout: 240 seconds]
work_ has joined #ruby
gdonald has joined #ruby
jenrzzz has joined #ruby
_merlim_ has quit [Quit: Connection closed]
jl4 has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
DTZUZU has joined #ruby
jenrzzz has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
akem has quit [Remote host closed the connection]
akem has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
Technodrome has joined #ruby
nertzy has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
thunderbirdtr has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
ur5us_ has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
<ule> Yep, that works
<ule> AndreYuhai: keep in mind that in concurrent systems, that call is not atomic
<ule> Another alternative for this is running a raw query that updates if it fails to create based on unique constraign
<ule> ON DUPLICATE KEY... UPDATE...
<ule> That goes a but out ActiveRecord though, it couples even more your Rails and your Database.. if you decide to move to a different database one day, this might be something you're gotta be careful so it doesn't break
<ule> AndreYuhai: also, for Rails specific, there is a dedicated channel: #RubyOnRails
<AndreYuhai> oh I am not really using rails but just using activerecord for the db
<AndreYuhai> by the way
<ule> interesting..
<ule> Why not?
<AndreYuhai> ule, Because I am not doing web development. I just need the DB part. :D
<AndreYuhai> What could be the side effect of that method not being atomic?
<AndreYuhai> find_or_create_by
<AndreYuhai> oh now I get it
<AndreYuhai> if two threads are trying find or create by
<AndreYuhai> for the same record
<ule> Well, if you have two requests at the same time, one will think the entry doesn't exist and the another one will think it exists.. then one of those will crash
<ule> something along those lines..
akem has quit [Remote host closed the connection]
akem has joined #ruby
<ule> Yeah, if you're using ActiveRecord you can try running a .lock or wrap that into a transaction block which would make things atomic at database level
<ule> but if you're system is not that concurrent, then wherever
<ule> In Rails 6 there is another method .upsert which I believe it is atomic
FastJack has quit [Ping timeout: 272 seconds]
<ule> AndreYuhai: maybe you have the .upsert() available to you as well depending on which version of ActiveRecord you're using it
FastJack has joined #ruby
<AndreYuhai> I am using activerecord 6.1.0 so I think I have it
coniptor has quit [Ping timeout: 256 seconds]
<ule> nice
hassox has joined #ruby
prestorium has quit [Ping timeout: 256 seconds]
<AndreYuhai> ule, By the way, for the transaction would this work? https://paste.ofcode.org/HUtJHh6pGxdynaprgedxA5
<AndreYuhai> So if I've got a transaction then are all the other threads that want to operate on the same class waiting for that transaction to be complete?
<ule> AndreYuhai: yeah, that should do the trick
<ule> Actually I don't know
venmx has joined #ruby
<ule> I believe transaction would just rollback the entire set of queries inside that block if one of those fails
<ule> To lock the entry you'd need a .lock I believe
hassox_ has quit [Ping timeout: 272 seconds]
<AndreYuhai> Alright, thank you so much for the help ule ! I think I need to read the docs about transaction and check that upsert() method as well. Then I can ask my questions here again.
coniptor has joined #ruby
<ule> good luck, cheers
venmx has quit [Ping timeout: 264 seconds]
prestorium has joined #ruby
jenrzzz has joined #ruby
ur5us_ has quit [Ping timeout: 264 seconds]
ur5us_ has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
Fire-Dragon-DoL has quit [Quit: Quit]
prestorium has quit [Remote host closed the connection]
prestorium has joined #ruby
Fire-Dragon-DoL has joined #ruby
prestorium has quit [Quit: prestorium]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
s3nd1v0g1us has joined #ruby
jenrzzz has joined #ruby
akem has quit [Remote host closed the connection]
akem has joined #ruby
prestorium has joined #ruby
Knight2000 has joined #ruby
Knight2000 has quit [Client Quit]
jenrzzz has quit [Ping timeout: 260 seconds]
venmx has joined #ruby
prestorium has quit [Quit: prestorium]
jenrzzz has joined #ruby
work_ has quit [Quit: Connection closed for inactivity]
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
coniptor has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
Rounin has quit [Ping timeout: 246 seconds]
roshanavand1 has joined #ruby
coniptor has joined #ruby
roshanavand has quit [Ping timeout: 246 seconds]
roshanavand1 is now known as roshanavand
bambanx has joined #ruby
howdoi has joined #ruby
jenrzzz has joined #ruby
alexherbo26 has joined #ruby
alexherbo2 has quit [Read error: Connection reset by peer]
alexherbo26 is now known as alexherbo2
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
weaksauce has joined #ruby
alexherbo23 has joined #ruby
alexherbo2 has quit [Read error: Connection reset by peer]
alexherbo23 is now known as alexherbo2
_aeris_ has quit [*.net *.split]
iNs has quit [*.net *.split]
ur5us_ has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
ur5us has joined #ruby
alexherbo22 has joined #ruby
wornt has quit [Ping timeout: 240 seconds]
alexherbo2 has quit [Read error: Connection reset by peer]
alexherbo22 is now known as alexherbo2
iNs has joined #ruby
_aeris_ has joined #ruby
akem has left #ruby ["Leaving"]
jenrzzz has joined #ruby
<AndreYuhai> ule, by the way I've found that there's also create_or_find_by which avoids the race condition between SELECT and INSERT but now there is INSERT and SELECT https://apidock.com/rails/ActiveRecord/Relation/create_or_find_by
<AndreYuhai> which is less likely to have that race condition depending on the use case. In my case that wouldn't be a problem I guess
alexherbo25 has joined #ruby
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo25 is now known as alexherbo2
jenrzzz has quit [Ping timeout: 246 seconds]
xco has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
venmx has quit [Ping timeout: 256 seconds]
neonloop has quit [Quit: bye]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
Azure has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
viporli has joined #ruby
DaniG2k has joined #ruby
nertzy_ has joined #ruby
nertzy_ is now known as nertzy
akem has joined #ruby
ur5us has joined #ruby
viporli has quit [Ping timeout: 240 seconds]
roshanavand1 has joined #ruby
DaniG2k has quit [Quit: leaving]
tosaraja has quit [Ping timeout: 244 seconds]
roshanavand has quit [Ping timeout: 246 seconds]
roshanavand1 is now known as roshanavand
neonloop has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
nertzy has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
tosaraja has joined #ruby
akem has quit [Read error: Connection reset by peer]
DTZUZU_ has joined #ruby
akem has joined #ruby
m27frogy has quit [Ping timeout: 256 seconds]
DTZUZU has quit [Read error: Connection reset by peer]
lightstalker has quit [Ping timeout: 256 seconds]
tomaw_ has joined #ruby
m27frogy has joined #ruby
tomaw has quit [Read error: Connection reset by peer]
yokel has quit [Ping timeout: 256 seconds]
thunderbirdtr has quit [Ping timeout: 256 seconds]
lightstalker has joined #ruby
yokel has joined #ruby
thunderbirdtr has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dilated_dinosaur has quit [Remote host closed the connection]
viporli has joined #ruby
jenrzzz has joined #ruby
audi has joined #ruby
akem has quit [Ping timeout: 246 seconds]
viporli has quit [Ping timeout: 256 seconds]
audi has quit [Remote host closed the connection]
akem has joined #ruby
ur5us_ has joined #ruby
AndreYuhai has quit [Quit: Leaving]
ur5us has quit [Ping timeout: 260 seconds]
akem has quit [Client Quit]
akem has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]