I decided to write a book (at the very least attempt to). And yes, there will be some Fedora inside! Continue reading “I am writing an introductory book to web application deployment”
You can make a single executable from your gem or even a Rails application. I just tried ruby-packer and it works as promised. Continue reading “Making a Ruby executable with ruby-packer”
package.json. Here are two options on how to do that. Continue reading “Using private GitHub repositories with yarn and npm in package.json”
A quick fix for an annoying (and not very descriptive) error Browsing context has been discarded when setting up Ruby on Rails system tests with Firefox headless.
Continue reading “Firefox needs some more RAM to run your Rails system tests”
Just a quick remainder about what slowed me down today. Continue reading “Fixing ‘failed to find type parsed [keyword] for [name]’ error for Elasticsearch and Searchkick”
Next release of InvoicePrinter will include a server with JSON API. That means you will be able to create simple and beautiful PDF invoices in seconds from any tech stack.
We should all strive to handle all possible errors in our programs and display nice error messages to the users, but one can hardly be sure that nothing will ever go wrong. That’s why I believe we should try to embed a debug mode that users can take advantage of when submitting the issue or solving the problem. Luckily this is very simple thing to do. Continue reading “Implementing a basic debug mode for your Ruby CLI”
This is a simple example of adding a conditional and partial unique index to Rails applications backed by PostgreSQL.
Continue reading “Conditional unique indexes in Rails and PostgreSQL”