Preview ActionMailer email content

Without actually sending out the email

Snippet Rails ActionMailer Test

Implement and Verify Certificate Pinning in Android

With Android Nougat Security Config and Retrofit

Guide Android Security Retrofit SSL

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

Deploying Laravel on Ubuntu

With PHP7, Nginx

Guide PHP7 Laravel Nginx Ubuntu Deployment

Spark Java Web Framework

Extremely easy to setup, implement and deploy

Article Java Framework Spark

Error installing mini_racer gem

In Ubuntu 12.04 or CentOS 6.x

Error Rails Bundle Gem

Exception and error handling in Ruby

Logging to file and Error reporting via Bugsnag

Article Ruby Exception Bugsnag Logging

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 ActionMailer

Load SMTP setting dynamically

From database or user's input

Snippet Rails Email SMTP

Using a custom config file

Store application specific configuration in a custom config file

Snippet Rails Config

Share a private S3 object

Via temporary presigned URL

Snippet AWS S3 Ruby SDK

Whenever gem cron job bundle: command not found issue

Caused by path issue

Error Rails Cron job Crontab

Uploading text string or file to S3

Via AWS Ruby SDK v2

Snippet AWS S3 Ruby SDK