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.
Have your say! Claim a free day! Ruby Digital Identity & Metaverse Week 2022 Upcoming
Hello, I am trying to restart the Best of Gems series over on Planet Ruby and I am adding extending the deadline for two more weeks for you to join in / contribute. Let’s celebrate Ruby Digital Identity & Metaverse Week 2022 (FREE ARTICLES SOON!). The Ruby Digital Identity & Metaverse Week 2022 presents a new Ruby profile picture / avatar character generation (graphics) library every day from August 15th to August 21st. Have your say! Claim a free day! Let’s highlight graphics libraries for generating digital identity profile pictures or metaverse avatar characters from the Ruby universe. Cheers. PS: Need some ideas? See the D.I.Y. Punk (Pixel) Art (Programming in Ruby) channel.
Using Sorbet and Tapioca with Rails
Some learnings after a few months of using Sorbet and Tapioca in a Rails app https://zachahn.com/posts/1659397378
HexaPDF 0.24.0 - Now with support for column and list boxes
The latest release of HexaPDF, the versatile PDF creation and manipulation library, now contains support for creating column and list boxes. For details and some demo pictures go to https://hexapdf.gettalong.org/news/2022/hexapdf-0-24-0.html
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).