Redis store integration steps

Rails cache store using Redis

Guide Rails Cache Redis

Rails url helper does not respect "relative_url_root" configuration in mailer

Specify relative url for mailer using script_name

Error Rails ActionMailer Config

Handling weekdays, weekends and public holidays

By using various built-in methods in Ruby and Rails

Snippet Ruby Rails Date Time

Deploy rails app using Capistrano

Capistrano is an useful deployment automation tool

Guide Rails Capistrano Deployment

Use rails 5.1 encrypted secrets

To protect production credentials even if they are committed into git

Guide Ruby Rails Secret Encryption

Reconstruct query string from request

For string compare or generate signature hash

Snippet Ruby Rails Controller

Making a Facebook Messenger Bot

A bot that do simple math calculation

Guide Rails Facebook API Chatbot

Making a simple Telegram Chatbot

Accepting text inputs and render simple response

Guide Rails Telegram API Chatbot

Preview ActionMailer email content

Without actually sending out the email

Snippet Rails ActionMailer Test

Avoiding table name conflict when multiple delayed job accessing the same database

When you have multiple apps connecting to the same database

Snippet Rails Delayed Job Database

Force HTTP header name lowercase

Walkaround for 3rd party server which is case-sensitive to HTTP header

Error Rails Httparty

Error installing mini_racer gem

In Ubuntu 12.04 or CentOS 6.x

Error Rails Bundle Gem

Rails SMTP setting without authentication

A common mistake to remove SMTP authentication

Snippet Rails SMTP

Test rails mailer with RSpec

Functional and Spec testing

Snippet RSpec Rails Mailer Test

Load SMTP setting dynamically

From database or user's input

Snippet Rails Email SMTP