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
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
QRCode Pix Ruby released!
Version 0.3.3 was released of gem qrcode_pix_ruby! qrcode_pix_ruby is a Ruby gem for Qrcode generation of Pix (Pagamento Instantâneo Brasileiro - Banco Central do Brasil). [more inside]
Configure Anything with dry-configurable! | Hanami Mastery #5
If you’ve ever had a need to add a configuration feature to your classes, check out a new Hanami Mastery episode!! I’ve published a Video, featuring dry-configurable gem, which may be a solution to your concerns! [more inside]
Porting Onigmo Regexps from Ruby to JavaScript with Opal & WASM
An in-depth, technical account of the work done around building a WebAssebly bridge and compiling Onigmo for Opal. [more inside]
Multiple databases in a single query in your Rails apps - Postgres Foreign Data Wrapp
Imagine that you are building a separate application for your e-commerce system dedicated to business intelligence. In other words, you want to calculate some stats for the orders. So you are going to create some new model, like OrderStat(s), and have a separate Postgres database for a new app. Sounds trivial so far. [more inside]
any_login new update and new milestone of almost 100K downloads
https://github.com/igorkasyanchuk/any_login new update brings fixing zeitwerk warnings. [more inside]
What's new in Polyphony - June 2021 edition
Polyphony 0.58 has just been released. Polyphony is a gem for writing fine-grained, highly concurrent programs in Ruby. Here’s a summary and discussion of the latest changes and improvements.
InvoicePrinter 2.2.0 released!
A while ago, I released a new version of InvoicePrinter, my little library for generating PDF invoices. Here’s what’s new.
How to write Badass READMES for your Github projects
Tips, examples and a template for writing simple yet useful Github READMEs for your projects. [more inside]
QRCode Pix Ruby released!
Ruby gem for Qrcode generation of Pix (Pagamento Instantâneo Brasileiro - Banco Central do Brasil) [more inside]
Book published: Building your own authentication library with Trailblazer
The new book series closes the gap between the OSS library and its “dry” API documentation. Here’s part I, 82 pages of operations, testing, refactoring, and another epic book cover. Enjoy!!! https://leanpub.com/buildalib/
New Ruby on Roda Release - Background Jobs with Sidekiq
Hi, many of you asked me to show you how to create background jobs in the Roda application. As a result, I released a new version of Ruby on Roda book that includes a chapter describing how to use Sidekiq for asynchronous jobs and Sidekiq::Web for monitoring processes in production . If there is a topic you would like me to describe, let me know! [more inside]
cache your methods easilllllly
https://github.com/igorkasyanchuk/rails_cached_method a simple and elegant solution to cache your methods in Rails app. [more inside]
5 SaaS Solutions Built with Ruby on Rails
These are the top 5 SaaS solutions and apps built with Ruby on Rails. They showcase that Ruby on Rails projects are still worthy of building powerful web applications. [more inside]
Custom “cops” for RuboCop: an emergency service for your Ruby code
By the end of this recent article from Dmitry Tsepelev at Evil Martians, you’ll be in a great position to cope with custom cops for RuboCop, add them easily to any legacy application, or even extract them into separate gems for reuse in greenfield projects.
Rails Security Threats: Authentication
Authentication is at the heart of most web development, yet it is difficult to get right. In this article, Diogo Souza discusses common security problems with authentication systems and how you can resolve them. Even if you never build an authentication system from scratch (you shouldn’t), understanding these security concerns will help you make sure whatever authentication system you use is doing its job. https://www.honeybadger.io/blog/rails-security-authentication-leaks/
wrapped_print
https://github.com/igorkasyanchuk/wrapped_print - Easy print debug information to your console in Ruby/Rails app. [more inside]
Dry::Inflector - Easy string manipulations in Ruby | Hanami Mastery #4
I’ve released a new Hanami Mastery Episode, this time covering the Dry::Inflector gem! https://hanamimastery.com/episodes/4-string-transformations-with-dry-inflector [more inside]
Dotenv-linter v3.1.0: Overview of key changes
https://github.com/dotenv-linter/dotenv-linter — a lightning-fast linter for checking, fixing and comparing .env files. Look at an overview of the key changes included in this release: https://dotenv-linter.github.io/#/whats_new/v310