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
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
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/
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]
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]
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/
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
Learn ViewComponent concepts while building a button component.
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
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.
Migrate, refactor, and change critical Ruby production code with confidence using Scientist gem. [more inside]
Mimic any 📤 SMTP server behaviour for your test environment with fake SMTP server: https://github.com/mocktools/ruby-smtp-mock
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]
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]
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/