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.
Running SASS and Tailwind side by side in Rails
Do you need to run Bulma and Tailwind together or interested how it would even work? Read how to do it with cssbundling-rails gem.
DRTiled With Wildfiler | Rubber Duck Dev Show 92
In this episode, we discuss the DRTiled library which helps you load tile data in Dragon Ruby from the Tiled application: https://www.rubberduckdevshow.com/episodes/92-drtiled-with-wildfiler/
Testing Inherited Behavior
Recently I asked how people prefer to see inherited behavior tested. This discusses each of the options in more detail and shows the results of the poll. https://kevinjmurphy.com/posts/testing-inherited-behavior/
Glimmer DSL for SWT 4.28.0.0
Glimmer DSL for SWT 4.28.0.0 (JRuby Desktop Development Cross-Platform Native GUI Framework) is the quarterly major release that happens after a new version of Eclipse SWT (Standard Widget Toolkit) is released. It is wrapping SWT 4.28, which was released on June 5, 2023. [more inside]
Master records selections in Rails app with SQL window functions
Learn how to use row number window function on a practical example to select unique latest grouped records from DB. [more inside]
Your journey as a mid-level Ruby on Rails developer
Get on board and let’s sail beyond the horizon. [more inside]
Business Class, a Ruby on Rails SaaS kit, goes 1.0!
Business Class is finally released! Read the announcement: https://nts.strzibny.name/business-class-brand-new-rails-saas-template/ Watch the demo: https://www.youtube.com/watch?v=s8mM5-snTig Browse the features: https://businessclasskit.com
Deep Dive into RSpec's let Helper
Advanced usage of let helper in RSpec:
https://dev.to/povilasjurcys/deep-dive-into-rspecs-let-helper-4gkk
Building AI applications with Ruby and Open Source LLMs
Today, I am releasing a new Ruby gem that allows you to create AI applications using Ruby, Aoororachain. [more inside]
An Introduction to Devise for Ruby on Rails
In part one of this series on Devise, we’ll cover the basics of the Devise gem: https://blog.appsignal.com/2023/07/12/an-introduction-to-devise-for-ruby-on-rails.html
About Ruby: pass by value or pass by reference?
I tried to refresh in this article the answer to the question: Is Ruby pass by value or pass by reference? [more inside]
Support for picture_tag helper in Rails
picture tag now ships with inbuilt support in Rails. Take a look at some examples and why picture is useful for web responsive applications https://blog.saeloun.com/2023/07/12/picture-tag-rails/
Modifying Action Text markup - Rails Tricks Issue 14
The latest issue of Rails Tricks is out. Showing how to modify Action Text markup: https://greg.molnar.io/blog/rails-tricks-issue-14/
Rails Generate Migration — Everything you need to know 🦆
I’ve written a handy reference article for the next time you’re generating a migration in your rails app — Rails Generate Migration — RailsNotes
How to use enum attributes in Ruby on Rails
Dive into the world of enums to discover how they can streamline your code and make it more readable. Learn best practices, how to add and manage enum attributes, and take advantage of Rails’ built-in features to efficiently manage finite sets of values in your models. https://www.honeybadger.io/blog/how-to-use-enum-attributes-in-ruby-on-rails/
Glimmer DSL for LibUI Composite Shape
Glimmer DSL for LibUI 0.8.0 (Fukuoka Award Winning Ruby Desktop Development Cross-Platform Native GUI Library) has been released with a new feature called Composite Shape (already in Glimmer DSL for SWT), which enables building new visual concepts by aggregating multiple smaller shapes within a parent composite shape using relative positioning and inherited fill/stroke colors. [more inside]
What is the difference between Turbo and Stimulus, and what exactly is Hotwire?
Explainer for folks who need to get caught up on modern front-end concepts in Rails: https://www.ducktypelabs.com/turbo-vs-stimulus/