-
How I write tests for my Rails (API) apps
I use RSpec for writing tests but my approach would have been similar with minitest as well. For every new API endpoint, I first write a simple request.
-
Be cautious with Ruby coercion methods
Coercion is a tricky problem to solve and it’s something we need pretty much everywhere. Whether you’re building a web application or a CLI tool, you w.
-
Understanding Bundler - to `Bundle Exec` or Not? That Is the Question
We, Ruby developers, are used to running scripts or commands with the prefix bundle exec, but sometimes it's not needed, but sometimes it is, and when .
-
The State of Ruby 3 Typing
We're pleased to announce Ruby 3’s new language for type signatures, RBS. One of the long-stated goals for Ruby 3 has been to add type checking tooling.
-
A small, lightweight and extensible DynDNS server written with Ruby and Rack.
dyndnsd.rb aims to implement a small DynDNS-compliant server in Ruby supporting IPv4 and IPv6 addresses. It has an integrated user and hostname databas.
-
To ERB and Beyond! What’s New in Bridgetown 0.16 “Crystal Springs”
It’s the height of summer, and we’re here with a real treat for Rubyists everywhere! At last you can have your cake and eat it too with the release of .
-
ImageInfo finds the size and type of a single or multiple images from the web by fetching as little as needed in batches.
ImageInfo finds the size and type of a single or multiple images from the web by fetching as little data as needed (partial image) in batches.WhyIn Lin.
-
Optimally distribute and run RSpec suites among parallel workers
Optimally distribute and run RSpec suites among parallel workers...
-
How to Dockerize a Sinatra application
Docker is difficultIn my experience, Dockerizing a Rails application for the first time is pretty hard. Actually, doing anything with Docker seems pret.
-
Deploying a Ruby application - Apache - Passenger Library
This guide teaches you how you can deploy your app to a server. This guide assumes that you have already done the following, and that you know how to d.