Skip to content
RY

Posts tagged #Rails

DevOps19 min read

The Simplest Way to Deploy a Rails App on Hosts

A detailed walkthrough of Bosun — a .deb-packaged Rails deployment tool for Ubuntu hosts that are not containers, built around tiered Linux accounts, ACL-locked secrets, and a shared per-app deploy key. Install, deploy, systemd workers, logging, and overrides, explained step by step.

Rails1 min read

Bidirectional Destroys in Rails 5

Suppose you have two models having hasmany/belongsto associations between them, In previous versions of rails you cannot add dependent: :destroy to both of t...

Rails1 min read

Has secure token in rails 5

Today I gona discuss about the method, in rails 5 it became , it specifies that an attribute of your model should be used to store a unique 24character alpha...