PinnedAli Sepehri.khinITNEXTA Simple Solution for Zero Downtime on Deployments with DockerTwo months ago after dockerizing our applications, I got a task to implement zero downtime for our deployments.8 min read·Nov 11, 2020--1--1
Ali Sepehri.khinITNEXTHow to speed up assets precompile for Ruby on Rails appsIf you spend too much time to deploy your rails project especially on the assets:precompile step, and maybe sometimes you see the…2 min read·Jul 10, 2020----
Ali Sepehri.khPreview for Amazon S3 Client-Side Encrypted Active Storage filesThumbnail preview for uploaded files(image, PDF, movie and …) which are encrypted in client-side3 min read·Jul 25, 2019----
Ali Sepehri.khDatabase View in Ruby on RailsSometimes you need to combine two table’s query together. For example, you have two kinds of posts stored in two separate tables. Assume…3 min read·May 8, 2018--3--3
Ali Sepehri.khinsalamcinemaMy Experiences in Live Rails ApplicationIdempotency for seed files, rake tasks and background jobs.1 min read·Feb 17, 2018----
Ali Sepehri.khinsalamcinemaHadirHadir is a gem which provides an authorization system like Pundit. With Hadir you separate policy logics and put them in policy classes…2 min read·Jan 17, 2018----
Ali Sepehri.khinsalamcinemaRunning advanced object/file storage server in less than 1 hour with “Minio”We wanted to prevent user from downloading files before paying for them. At first attempt I created a temporary link per each user and each…2 min read·Nov 7, 2017----
Ali Sepehri.khinsalamcinemaDo you log your exceptions? yes, I do, but I can’t read them!Your users are free testers for your websites, apps and etc. if you do proper logging. We are using rails for backend and I found Errbit as…1 min read·Apr 25, 2017----
Ali Sepehri.khinsalamcinemaSplit admin build file with Webpack 2 + React-RouterWe decided to write an admin part for our web application. To prevent increasing build file size we can write another application for admin…1 min read·Mar 2, 2017----
Ali Sepehri.khinsalamcinemassh without “tmux”, are you kidding?tmux’s authors describe it as a terminal multiplexer. I don’t want to say: “what is the tmux?”, you can find the answer with a simple…1 min read·Jan 21, 2017----