RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Submit a post

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

Implementing new EU invoice format (which is required for B2B from 2025)

From 2025, all B2B invoices within European Union must be machine readable by complying to a XML-spec (Factur-X). In this post, I use secretariat Gem for generating + validating the XML and then use plain Ghostscript to put it together with the original invoice.pdf into a hybrid so-called ZUGFeRD file that complies with the spec but still displays as a normal PDF(/A3). [more inside]

If you create the invoice.pdf yourself, you could use HexaPDF to do everything …

Rails 8 Upgrade Guide 2025: Step-by-Step Instructions for a Smooth Transition

There must be 1000s of Ruby on Rails apps still running on version 5, 6, 6.1, 7, 7.1, etc. Upgrading your Rails 5 app to version 8 is a herculean task. My latest article on how to upgrade your non-8-version Ruby on Rails application to version 8 provides a detailed guide you can follow to make this process less herculean. Read it here - Rails 8 Upgrade Guide 2025: Step-by-Step Instructions for a Smooth Transition.

Ultimate Rails Security Guide: Best Practices for Ruby on Rails Applications in 2025

Both web applications and mobile applications industries are at the peak of their life. Whatever softwares, ERPs, CRMs, Code Repos, etc., we use today are in majority either a SaaS or Self-hosted web app. Rails 8 with Strada can now be used to build both web and mobile apps thus security has to be the prime concern in your MVPs built using Rails8 and onwards. This article lists the advanced techniques and built-in features on how to secure your Ruby on Rails applications in 2025 and beyond. Read it here - Ultimate Rails Security Guide: Best Practices for Ruby on Rails Applications in 2025.

Loading older posts