-
RESTful Routes in Rails
Routes are how requests, through URL and HTTP method, are directed to code that handles the routes. RESTful, Representation State Transfer, routes is a.
-
Ruby on Rails Controllers Cheat Sheet
GuideRuby on Rails Controllers Cheat SheetHttpAuthentication::BasicHttpAuthentication::TokenCheat Sheet Maker...
-
DB max connection limits for Rails app and Postgres, Redis, Puma settings
Configuring the database connections pool for the Rails app might not be a straightforward task for many programmers. There is a constraint of max open.
-
Join vs includes vs eager load vs preload
This is the API that rails give you to avoid N 1 queries.includesjoinspreloadeager_load...
-
Useful Active Support features you may not have heard of
Active Support is a really powerful library that is a part of Rails framework. It contains many useful core extensions that empower standard ruby objec.
-
The 5 Rules of Simple RSpec Tests
The 5 “rules” I try to follow in order to write simple RSpec tests.Let’s GO.Everything above 2 is a code-smell and causes alarm bells in my head to rin.
-
Get Over Ruby on Rails — 3 Alternative Web Frameworks Worth Checking Out
Ruby became famous with the rise of the Ruby on Rails framework. It still is one of the biggest players in the web framework area — even if you compare.
-
Rails 7 transforms a Ruby hash into HTML attributes for ERB interpolation | Saeloun Blog
One of the basic things we learn as a Rails developer is how to interpolate bits and pieces of Ruby code into our template file, which is ERB. There ar.
-
Working strategically through Rails upgrades
In the past few years, I’ve seen a huge improvement in how teams upgrade their Rails apps. Instead of starting a new branch and seeing where it goes, w.
-
A guide to building a blockchain
Even putting aside the hype around cryptocurrencies, it’s impossible to deny how big an innovation they are. Computers and the internet brought us free.