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.
Glimmer DSL for SWT Hits 60 SAMPLES with Weather!
Glimmer DSL for SWT just added its 60th sample with the Weather app elaborate sample included in v4.20.0.4! Also, added Hello, Shell! in v4.20.0.3! Come get ‘em while they’re hot! [more inside]
Glimmer DSL for SWT Hello Composite, Layout, ToolBar, and CoolBar!
Glimmer DSL for SWT v4.20.0.1 and v4.20.0.2 bring the following Hello samples aboard: Hello, Composite! / Hello, Layout! / Hello, Tool Bar! / Hello, Cool Bar! [more inside]
QRCode Pix Ruby released!
qrcode_pix_ruby is a Ruby gem for Qrcode generation of Pix (Pagamento Instantâneo Brasileiro - Banco Central do Brasil). [more inside]
Glimmer DSL for SWT 4.20.0.0 Time To Shine!!!
No, you are not hallucinating!!! The uses of <=> and <= to denote bidirectional (two-way) and unidirectional (one-way) data-binding respectively are real code from the updated Hello, Computed! sample working in Glimmer DSL for SWT 4.20.0.0, thanks to the new Shine syntax for View/Model Attribute Mapping and Ruby’s ultra-malleable DSL syntax support. Also, AARCH64 experimental support has been added courtesy of the new SWT 4.20 and JRuby has been upped to v9.2.19.0 [more inside]
My thoughts on trying Hanami 2.0 in microservices architecture.
In this article, I tell about the thoughts hidden behind the process of decision-making, whether to switch to Hanami from Rails. [more inside]
Minimise impact of DDoS attack on Rails app
As it says on the tin, a short article that explain how to mitigate the possible impact of DDoS attack on your Rails app
Getting Started with Pry Debug in 5 minutes
When you’re banging your head against the wall trying to fix a bug, the last thing you want is having to stop and learn how to use the debugging tool. [more inside]
google-like avatars in your app
generates google-like avatars in your app. [more inside]
Security vulnerabilities – how to find and fix them
This article is about security vulnerabilities that can be found in many projects. Ignoring them can have terrible consequences. Hopefully, they are easy to fix. Here I described how I found a vulnerability, showed how it could be used for data extracting from the database, and fixed it with just one line of code.
Rails 7 adds AudioAnalyzer to ActiveStorage
Rails 7 adds AudioAnalyzer to ActiveStorage [more inside]
Set Up A Docker Container To Test Your Rails App
Code is never self-contained. It runs in an environment. Docker lets you define that environment in a simple and portable way. That’s why pretty much every automated testing and deployment service works with docker containers. You give them a container, and done! But how do you set up a container to use for testing your Rails app? In this article, Milap Neupane will show you.
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
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.