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.
[screencast] Classes and Objects in Ruby Part 2
https://youtu.be/6y-E2gUKqng [more inside]
The Second Gosu Game Jam kicks off in just a few days on February 20th
Join the jam and cast your theme votes on itch.io
New version of frs - automation 🚀 bash script for spinning-up Ruby dev env
Fast Ruby 💎 setup. Configure your developer stuff on latest Linux Ubuntu in minutes 🚀 https://github.com/RubyWorkout/frs
How to add Search in Rails using Meilisearch
If you’ve ever wanted to add advanced search to your Rails app, you’ve probably used ElasticSearch. Meilisearch is an alternative written in Rust that’s super fast and easy to integrate, plus it has a built-in UI for testing searches. Check out the How to add Search in Rails using Meilisearch screencast
Debug a Rails app with ruby/debug
From Rails 7, byebug has been replaced by ruby/debug, a feature that is available in Ruby 3.1, and available as a gem in every new Rails project. [more inside]
Add a Custom Pry Prompt in your Rails Console
Do you love using pry in rails for debugging? Check out how to add a Custom pry prompt and improve productivity [more inside]
Glimmer DSL for Opal is Riding Rails 7
Glimmer DSL for Opal has been updated to work with Rails 7. There is a new Rails 7 sample app built with it too. [more inside]
[Screencast] Rails Authentication with Rodauth
Learn how to add authentication and account management to your Rails app using Rodauth. https://www.youtube.com/watch?v=2hDpNikacf0
Rubber Duck Dev Show Episode 29 | How We Got Started Coding
Hear two rubyists discuss how they got started coding: https://www.rubberduckdevshow.com/episodes/29-how-we-got-started-coding/
My favorite Gems and how to use them
https://www.ginkonote.com/users/flo/articles/best-rails-gems-with-all-their-tips@rails
TRAILBLAZER TALES #06 | DRY-Validation
Another Trailblazer screencast is out. In this session we discuss the dry-validation library and how it fits seamlessly into Trailblazer. https://www.youtube.com/watch?v=X65ssLplQkk
Hanami v2.0.0.alpha6
Introducing Hanami Providers. Fine grained control on your app features with Partial Slice Import/Export. Support Ruby 3.0+ only. https://hanamirb.org/blog/2022/02/10/announcing-hanami-200alpha6/
Getting Integration Tests Right
Find out how integration testing can become as straightforward as unit testing. https://semaphoreci.com/blog/integration-tests
Ruby constants
How to define constants in Ruby, and how to use them - with one tricky part. [more inside]
Glimmer DSL for SWT Video Tutorial 2 - Hello, Message Box!
The Glimmer DSL for SWT Video Tutorial 2 is out! It walks software engineers through Hello, Message Box! [more inside]
5-Step Strategy for Optimizing Slow Tests
đź‘€ Super helpful tutorial on how to optimize your slow tests https://semaphoreci.com/blog/slow-tests-strategy
Ruby on Rails 7 Drag & Drop With Hotwire
If you’re confused about Hotwire, Turbo, or Stimulus JS, I made a video about how to build a drag & drop feature using Hotwire’s Stimulus JS and Turbo streams. [more inside]
Enummer: Multi-value enums in Rails
Enummer is a lightweight answer for adding enums with multiple values (aka flags, bitfields) to Rails, with a similar syntax to Rails’ built-in enum. Potential alternative for flag_shih_tzu.
Ruby on Mac - Get a working Ruby dev env with a single command
Every day, hundreds of people struggle to install gems like Rails and Jekyll on their Mac. That’s why I built Ruby on Mac, a reliable script that just works whether you have a brand new Mac or are trying to fix a broken dev env.
Zero downtime PostgreSQL migrations with online_migrations gem
https://github.com/fatkodima/online_migrations - for those familiar with strong_migrations, it is a “strong_migrations on steroids”. [more inside]