-
Rails 5: Getting Started with Active Storage
When storing static files in Rails, the first toolsets I reach for are 3rd party gems like: CarrierWave or Paperclip (before they deprecated it in favo.
-
3 Defensive Programming Techniques for Rails
Incidents happen all the time because of bad code deploys. You write some code that passes code review, it then is automatically shipped to production .
-
How do you tell which areas of a project's test suite need attention?
A client of mine recently asked: “How do you determine, when first opening a project, which areas of testing need attention?”There are three methods I .
-
Integrate React.js with Rails views and controllers, the asset pipeline, or webpacker.
React-Rails is a flexible tool to use React with Rails. The benefits:Automatically renders React server-side and client-sideSupports Webpacker 4.x, 3.x.
-
Simple one-liner tests for common Rails functionality
Shoulda Matchers provides RSpec- and Minitest-compatible one-liners to test common Rails functionality that, if written by hand, would be much longer, .
-
Algebraic effects for Ruby
Affect is a tiny Ruby gem providing a way to isolate and handle side-effects in functional programs. Affect implements algebraic effects in Ruby, but c.
-
Ruby on Rails on Windows is not just possible, it's fabulous using WSL2 and VS Code - Scott Hanselman
I've been trying on and off to enjoy Ruby on Rails development on Windows for many years. I was doing Ruby on Windows as long as 13 years ago. There's .
-
Six Ruby array methods you need to know
Arrays are one of the fundamental structures of programming. Being able to quickly manipulate and read data out of them is vital to success in building.
-
Cache large drop-downs in Rails
Today I noticed that a couple of drop-downs in a key form were taking several seconds to load.At first I figured it's a slow query, because the drop-do.
-
GraphQL Voyager for Rails
It’s been almost a year now working and building with GraphQL backed APIs. One of the best things about GraphQL has always been their dev tooling.Firin.