Turbo Streams Instead of Nested Forms

When the parent already exists, you probably don't need a nested form at all

rails javascript how-to

Nested Forms in Rails 8: Life After Cocoon and Webpacker

accepts_nested_attributes_for still works. A small Stimulus controller handles the rest.

rails javascript how-to

Building a Pluggable Adapter Architecture in Ruby

How to design a gem with zero hard dependencies and user-selectable backends.

ruby docpdf open-source

Testing a Ruby Gem Across Multiple Adapter Combinations

Using Appraisal to test every combination of optional dependencies.

ruby testing

Document Conversion on Heroku

Getting LibreOffice and ImageMagick working for PDF conversion on Heroku.

ruby heroku docpdf

Introducing DocPDF

A Ruby gem for document-to-PDF conversion and watermarking, with zero hard dependencies.

ruby open-source docpdf

Rails 6, Webpacker, and the Cocoon gem

A straightforward way to use the Cocoon gem in your Rails 6 project, using Webpacker.

rails how-to

Rails 6, Webpacker, and jQuery

Quickly add jQuery to your Rails 6 application using Webpacker

rails javascript how-to

Importing Heroku PostgreSQL to localhost

Importing a Heroku PostgreSQL database to your local machine, quickly and easily.

ops rails how-to

Easily Add An Instagram Feed To Jekyll

How to easily add an Instagram feed to your Jekyll site, while avoiding the gotchas.

code javascript how-to