サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
TGS2024
ruby-journal.com
One of the hot thing in Rails 4.2 is the brand new ActiveJob gem, this gem consolidate the API for background job gems on the market such as DelayedJob, Resque, etc. Today I am going to guide you through how to integrate Sidekiq with ActiveJob, and you will learn: Set up Sidekiq adapter for ActiveJob Basic of ActiveJob class Advanced usage of multiple queues ActiveJob callback ActiveJob exception
Rails is all about Convention over Configuration, this includes the DB primary key, which is always set to be id column. What if you want to use different column as your primary key? Read on and I’ll show you how. NOTE: This article is written for Rails 4.1.1 /w Postgres Usecase My webstore uses a special string ID, called sku, this ID is unique and queried instead of id column. For the sake of si
In this tutorial, I’ll walk you through the concept behind using puma + NGINX, plus thorough instructions on setting them up on CentOS and Ubuntu. Concept Many people who come from the old Apache HTTPd day often ask me how reverse proxy + web server work? “It’s different paradigm” Reverse proxy software (such as Varnish or NGINX) would acts as a load balancer that routes all external requests to a
Ever wondering why some tests passed locally but failed on Travis? Ever questioning how could I go about to debug why that failed test on remote Travis? Read on as I show you how UPDATE: The below solution no longer works with current Travis, I’ve contacted Josh and he advises to contact support@travisci.org and Travis would open a VM for you. In one occassion, I had a failed Ruby test on Travis w
このページを最初にブックマークしてみませんか?
『Ruby Journal』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く