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.
Yesterday
Rubber Duck Dev Show Episode 43 | Typed or Untyped Ruby
Hear two rubyists discuss the new features of ruby that allow you to set types for your variables. We discuss the pros and cons and discuss static vs. dynamic typing in general: https://www.rubberduckdevshow.com/episodes/43-typed-or-untyped-ruby/
Glimmer DSL for SWT Video Tutorial 17 - Hello, Date Time!
Desktop development is about 10 times simpler than web development. Learn it and you will become a better web developer as you transfer the simplicity of desktop development to the web! [more inside]
An Introduction to Polymorphism in Ruby on Rails
This article will give you a greater understanding of polymorphism. To accomplish this, we’ll dive into: [more inside]
Gem that detects possible memory leaks early
Memory leak happens when application tries to load a lot of things to the memory and holds them, so garbadge collector cannot collect objects untill request is fully served. When Ruby virtual machine gets memory from the operating system it won’t be able to return it back because of the page fragmentation, so your monitoring will show that application took a lot and stopped somewhere. [more inside]
Event Streaming in Rails with Kafka
Do you need to process a lot of data in real time? Event streaming is a pattern that could help. David Sanchez walks us through how to do event streaming in Rails with Apache Kafka, the popular open-source event streaming platform. https://www.honeybadger.io/blog/event-streaming-rails-kafka/
How to add a Command Palette to your Ruby on Rails app
Command palettes are a common feature for power users in every application. Learn How to add a Command Palette to your Ruby on Rails app
Understanding ViewComponent concepts by building a button
Learn ViewComponent concepts while building a button component.
Rails 8, unreleased parts
We are not part of the Rails team, but dreaming is not 403 forbidden. [more inside]
Scraping Buy: Scripting for a Purchase
Using ruby for a quick web scraping operation, I was able to automate a small part of my personal life to facilitate an online purchase. [more inside]
Glimmer DSL for LibUI 0.5.11 - Basic Shape Drag & Drop
Glimmer DSL for LibUI 0.5.11 (Fukuoka Ruby 2022 Award Winning Ruby Desktop Development GUI Library) has just been released with basic shape drag and drop support. https://andymaleh.blogspot.com/2022/05/glimmer-dsl-for-libui-0511-basic-shape.html
Released bundler-audit 0.9.1
bundler-audit 0.9.1 was released which fixes a regression in the Bundler::Audit::Task
rake task, which was introduced in 0.9.0. The regression caused the rake task to not exit with an error if bundler-audit
detected vulnerabilities. If you use the rake task as part of your CI process, upgrading to 0.9.1 is highly recommended. See the ChangeLog for more details about this release.
Glimmer DSL for SWT Video Tutorial 16 - Weather
Desktop development is about 10 times simpler than web development. Learn it and you will become a better web developer as you transfer the simplicity of desktop development to the web! [more inside]
Using Scientist to Refactor Critical Ruby on Rails Code
Migrate, refactor, and change critical Ruby production code with confidence using Scientist gem. [more inside]
New version of smtp_mock 📤 has been released 🚀 🇺🇦 🚀
Mimic any 📤 SMTP server behaviour for your test environment with fake SMTP server: https://github.com/mocktools/ruby-smtp-mock
3 Key Differences Between Junior and Senior Rails Developers
If you’re a junior developer wondering what it takes to become a senior developer, or what senior developers do better than junior developers, you’re going to find out by the end of this video. [more inside]
Soft deletion with PostgreSQL: but with logic on the database!
In this light-hearted post, Rubyists are front and center here as we explain the ‘how’ and ‘why’ behind this unorthodox PostgeSQL approach: putting soft deletion logic on the database side. [more inside]
A Case for Query Objects in Rails
When is it best to reach for query objects and how can we best structure them? [more inside]
Understanding the Ruby Object Model In Depth
If you define the same method on a class, a subclass, and a mixin, which one gets called first? Join Abiodun Olowode in an exploration of Ruby’s object model! https://www.honeybadger.io/blog/ruby-object-model/