Spawnling gem:
This gem provides a 'Spawnling' class to easily fork OR thread long-running sections of code so that your application can return results to your users more quickly. It works by creating new database connections in ActiveRecord::Base for the spawned block so that you don't have to worry about database connections working, they just do.
Step 1: Gem add in Gemfile:
gem 'spawnling'
Step 2: Add in database.yml file
production/development:
..............
..............
reconnect: true
Step 3: Usages:
Spawnling.new do
@calendar.send_notification_to_team # method name
end
Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking Ruby on Rails Online Training
ReplyDeletemmorpg oyunlar
ReplyDeleteInstagram Takipçi Satın Al
tiktok jeton hilesi
tiktok jeton hilesi
antalya saç ekimi
İnstagram Takipçi Satin Al
instagram takipçi satın al
metin2 pvp serverlar
instagram takipçi satın al
Smm Panel
ReplyDeleteSmm Panel
İŞ İLANLARI BLOG
instagram takipçi satın al
Hırdavat
beyazesyateknikservisi.com.tr
SERVİS
tiktok jeton hilesi