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.
Rubber Duck Dev Show Episode 52 | The Agile Manifesto's 12 Principles
Hear two rubyists discuss the 12 principles of agile: https://www.rubberduckdevshow.com/episodes/52-agile-manifesto-12-principles/
Glimmer DSL for SWT Video Tutorial 26 - Hello, Canvas Transform!
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]
5 Secrets to Getting Your First Rails Job
Here’s a live session with guest Joe Masilotti of railsdevs.com for people interested in getting their first Rails job. https://youtu.be/UGWwrtj5k4M
How to Track Down Memory Leaks in Ruby
In this post, the first of a two-part series on memory leaks, we’ll start by looking at how Ruby manages memory, how Garbage Collection (GC) works, and how to find a leak. [more inside]
RuboCop Serves (Much) Faster
I wrote an article about RuboCop’s new server mode and the benefits it brings.
Galaxy brain CSS tricks with Hotwire and Rails
Of the three-legged stool that is HTML, JavaScript, and CSS…Rails developers neglect CSS the most. But CSS — especially with modern, utility class tools like Tailwind — works really well with the Hotwire philosophy. [more inside]
Glimmer DSL for LibUI Basic Child Window
Glimmer DSL for LibUI v0.5.14 has been released with a new sample, Basic Child Window, which demonstrates how to spawn a child window from the main window of a desktop application. [more inside]
Branch for the next Launch - Mastering Simplecov!
Integrate Simplecov with Hanami and master your test coverage reports minimizing false positives! [more inside]
Generate Screenshot with Ruby
I wrote a blog post on different ways to generate screenshot with Ruby [more inside]
[Screencast] Multifactor Authentication via Recovery Codes with Rodauth
Learn how to add recovery codes as a backup multifactor authentication method to your Rails app, and how you can modify what Rodauth provides out-of-the-box. https://youtu.be/lkFCcE1Q5-w
Ruby on Rails Time Without Time Zone
In Ruby and Rails, there is no class dedicated to time-of-day, so 2000–01–01 is used for the time. ActiveModel implements a Time class to reflect the database type of time https://nauman.medium.com/rails-time-without-time-zone-50d690d45f82
Glimmer DSL for SWT Video Tutorial 25 - Hello, Canvas Path!
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]
Rubber Duck Dev Show Episode 51 | Andrew Mason & Collin Jilbert of Ruby Radar
Hear four rubyists discuss various aspects of programming as the Rubber Duck Devs host Andrew Mason & Collin Jilbert from the Ruby Radar Newsletter: https://www.rubberduckdevshow.com/episodes/51-andrew-mason-collin-jilbert-ruby-radar/
Turbo Frames vs. Turbo Streams
This video goes over the differences between Turbo Frames and Turbo Streams. https://youtu.be/vnDWsGtzOCc
Testing microservices
Microservices need a different approach when it comes to testing. The microservices test pyramid is more complex. Here’s how to use it: https://semaphoreci.com/blog/test-microservices
Hanami v2.0.0.beta1
Hanami 2 first beta: app-centric revolution & CLI. What to expect in 2.0 and 2.1. app/
directory is now the primary home for your code. https://hanamirb.org/blog/2022/07/20/announcing-hanami-200beta1/
MongoDB adapter for Ruby Object Mapper
Another version of mongodb rom adapter: https://github.com/bestwebua/rom-mongo
[AnyCasts RailsConf special] Turbo Streams vs. consistency
In this AnyCasts episode, I’m exploring the (in-)consistency of Turbo Streams and how to reach better delivery guarantees (with and without AnyCable superpowers).
Gosu Game Jam Theme Voting Begins
The gosu game library is having it’s third jam starting August 14th. Theme voting has started, join the jam at https://itch.io/jam/gosu-game-jam-3 and vote on some themes.
7 levels of test coverage
An opinionated approach to different levels of test coverage in Ruby applications! [more inside]
Bridgetown 1.1 “Belmont” Has Landed
New features include i18n support for multilingual websites, integration with Shoelace & Lit components, HTML & XML Inspectors, Sass support with esbuild, and Markdown enhancements. And just published: a website migration guide from Jekyll. Check out the full announcement here.