Using strftime in a Rails view is probably a mistake
The strftime method appears in many languages, all the way back to C. The syntax of the (mostly impenetrable) formatting arguments haven’t changed that.
Puma 4: Hammering Out H13s—A Debugging Story
For quite some time we've received reports from our larger customers about a mysterious H13 - Connection closed error showing up for Ruby applications..
strong_password v0.0.7 rubygem hijacked
I recently updated minor and patch versions of the gems our Rails app uses. We want to keep dependencies fresh, bugs fixed, security vulnerabilities ad.
Setting up Rails with Docker and Caddyserver
Show how to setup a basic implementation of Ruby on Rails with Docker, utilizing Caddyserver as the reverse proxy, tls, and load balancer.For this tuto.
How to simplify reading your Rails console
Rails console is a great tool when you are experimenting with your code, but if we have a lot of data it can become a bit complicated and time consumin.
Tutorial: Dialogflow Chatbot with Ruby on Rails
In this tutorial, we will build a chatbot interaction to Stream Chat using Ruby on Rails. At the end of the tutorial, you will have an application wher.
Safe Navigation vs Try in Rails (Part 2: Performance)
This Note is an extension of Safe Navigation vs Try in Rails (Part 1: Basic Differences)Method try() comes from Active Support component of Ruby on Rai.
Containerizing Rails: Techniques, Pitfalls, and Best Practices (RailsConf 2018)
On April 18, 2018, I spoke on "Containerizing Rails: Techniques, Pitfalls, and Best Practices" at RailsConf in Pittsburgh, PA. The talk discussed best .
How to Implement Elasticsearch in a Rails Web App. Part 2
This article was originally published on Codica blog.Today, we are going to provide you with the second part of the article How to Implement Elasticsea.
Render and combine PDF files into one
Render PDF files from HTML templates in Rails can be done using WickedPDF.First you need to use ActionView to render HTML to a string:...