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.
Classes in Ruby Part 4 - Extending class and Reflections
Action Mailer : a tutorial
Action Mailer is already included in any new Rails application. However in this tutorial we will take time to see how each piece of code works. [more inside]
Glimmer DSL for Tk Hello, Labelframe and Scale!
Glimmer DSL for Tk (Ruby Tk Desktop Development GUI Library) v0.0.54 and v0.0.55 just got released with two new samples: Hello, Labelframe! and Hello, Scale! [more inside]
Simple CSV Parsing (with error handling)
Parsing CSVs doesn’t have to be complex. In this article I walk you through how to simplify any complexity that would normally require multiple objects, complicated nested loops, etc. Enjoy!
Multiple CSS files using TailwindCSS gem
https://github.com/loqimean/tailwindcss_merger [more inside]
Single and Double Splat operators in Ruby
The splat operator is a powerful Ruby feature, but we should be cautious when using it. I wrote a post that describes the Splat operator usage, along with dangerous cases I have seen.
Rubber Duck Dev Show Episode 30 | How To Get Started Coding
Hear two rubyists discuss how to get started coding: https://www.rubberduckdevshow.com/episodes/30-how-to-get-started-coding/
Glimmer DSL for SWT Video Tutorial 3 - Hello, Tab!
The Glimmer DSL for SWT (JRuby Desktop Development GUI Framework) Video Tutorial 3 is out! It walks software engineers through Hello, Tab! [more inside]
What I Learned from My First Rails Upgrade
What a less experienced developer learned while working in their first Rails upgrade project [more inside]
Glimmer DSL for Opal Made Peace with Rails 6
Glimmer DSL for Opal has intentionally skipped over Rails 6 in the past due to its absolutely horrible Ruby-community-betraying webpacker default, but given that the Rails team have recently redeemed themselves with Rails 7 retiring the pathetic webpacker, Glimmer DSL for Opal has been updated to work with Rails 6! [more inside]
Rails + SQL Views
https://github.com/igorkasyanchuk/sql_view new gem to work and create SQL views in 2 steps - generator+migrate. THE EASIEST solution :)
Delayed Job vs. Sidekiq: Which Is Better?
The pros and cons of Delayed Job and Sidekiq: https://blog.appsignal.com/2022/02/15/delayed-job-vs-sidekiq-which-is-better.html
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]