-
Ruby Money
In my current job, we faced calculation errors when operating with float for Money.After some investigation, we found this articleOur first approach wa.
-
How to auto-document the database schema of your Rails app
RailsConf Recap (4 Part Series)1We need a better way to communicate and explain our code decisions2How to auto-document the end-to-end code and data fl.
-
Understanding blank?, present?, empty?, any?, and nil? in Ruby (and Rails)
In Ruby on Rails, there are several methods available for checking the state of an object.The most common ones include:blank?present?empty?any?nil?It c.
-
Instant Rails - Dockerized Rails Application Template
Instant Rails is a Rails application template that comes with certain common tools, like Devise and RSpec, pre-installed.Instant Rails is a special kin.
-
The Gnar Blog - Always Use RESTful Routes
Using non-RESTful routes in your Rails application can lead to a lot of undue chaos and uncertainty. Don’t be afraid to break away from conventional pa.
-
Getting started with automated testing workflow and CI on Ruby
If you have been writing Ruby / Rails code for a while, but still can’t grasp on the ‘why’ to write automated test, (eg. why do so many Ruby dev job po.
-
Advantages of Shrine · Shrine
There are many existing file upload solutions for Ruby out there. This guide will attempt to cover some of the main advantages that Shrine offers compa.
-
All sorts of useful information about every country
Countries is a collection of all sorts of useful information for every country in the ISO 3166 standard. It contains info for the following standards I.
-
Moving ActionCable over to Webpacker
This week, I upgraded a little demo application for my book Deployment from Scratch from Rails 6 to Rails 6.1. Since I showcase WebSockets with ActionC.
-
Brand New Box - Building Your Own Rails Form Builders
At Brand New Box, we write a lot of forms using Rails. Each of our projects has a unique look and feel to it which usually means that the HTML of our f.