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.
Tetris Runs in Web Browser with Glimmer DSL for Opal!
It finally happened! The Glimmer Tetris that was built in Glimmer DSL for SWT for the desktop earlier this year has been webified via Glimmer DSL for Opal (an early minimal version) and released as part of version 0.26.0! [more inside]
Using Tailwind CSS with Rails
Tailwind CSS is a popular CSS framework that helps developers quickly build and style web pages with a unique utility-based approach. Unlike other CSS frameworks, it comes with its own build tooling. In this article, Jeffery Morhous walks us through setting up Tailwind CSS with Rails and Webpacker. https://www.honeybadger.io/blog/tailwind-css-rails/
A Rubyist's Guide to Vite.js
💎 Ruby is enjoyable because the development experience is interactive, and we can do more with less. ⚡️ Vite.js shares the same philosophy—great conventions out of the box, and a fast feedback loop that allows us to stay creative. Learn how to use Vite.js in Ruby
How to Contribute to Ruby on Rails
Are you looking for an opportunity to get more experience as a developer? Make meaningful connections with the community? Learn the best practices on how to maintain a large codebase? [more inside]
React is now effectively part of the Rails stack
An analysis of over 1,600 job postings on RailsGigs suggests that React is now a de facto part of the Rails stack: https://matthewbellantoni.com/2021/08/17/react-is-now-effectively-part-of-the-rails-stack/
Rubber Duck Dev Show | Software Development Technical Project Management
Given that we are rubyists, we thought you might find this discussion interesting. In this episode we talk about the technical aspect of project management for software development: https://www.rubberduckdevshow.com/episodes/2-software-development-technical-project-management/
One row, many threads: How to avoid database duplicates in Rails applications
A primer from Evil Martian Dmitry Tsepelev on thread-safety and database duplicates. Lots of actionable content on how to make sure rows in your tables in a Rails application stay unique. Benchmarks and runnable examples inside!
Synvert GUI - write ruby code to change ruby code
The synvert gem can write ruby code to change ruby code, the GUI makes it much easier to use. [more inside]
The DCR Programming Language (Draw Color Repeat)
DCR (Draw Color Repeat) 1.0.0 has been released! It is a simplified minimal subset of the Logo programming language, which aims at providing school kids in 1st - 3rd grade the simplest programming language learning experience possible. It is built with Glimmer DSL for SWT and released under the MIT license. [more inside]
Rails 6 with Webpacker 6, Tailwind 2 JIT, Postcss 8 and some default setup
It is always nice to follow a detailed guide and steps when building new rails apps. Below is a bit of guidance and step-by-step instructions. [more inside]
Oktest 1.0.0 released, a new style testing library
Oktest is a new style testing library for Ruby. Similar to RSpec, but more intuitive and better performance. Fixture injection is very impressive.
A blog series on lessons learned from our Rails upgrade
We just finished upgrading to Rails 5 at my company. I know we’re lagging behind but there were some really valuable lessons that we gathered along the way. I wrote about some of those lessons in this blog series. (This was my first time writing a blog post, would love any feedback) [more inside]
Glimmer Clock
Glimmer DSL for SWT 4.20.15.1 ships with a Glimmer Clock elaborate sample. [more inside]
How to Learn the Syntax of a Programming Language When You Know How to Code
Are you having a hard time picking up the syntax of a new programming language, even though you know how to code? You can transfer your knowledge from one language to another by identifying their basic building blocks. Use this exercise to practice! [more inside]
Rubber Duck Dev Show | It's All About the Tests!
I just started a new weekly show called the Rubber Duck Dev Show with my co-host Chris. We will be covering all aspects of software development. Our first episode talks about testing! https://www.rubberduckdevshow.com/episodes/1-its-all-about-the-tests/
Glimmer Battleship
Glimmer DSL for SWT 4.20.13.15 shipped with a sample implementation of the classic board game: Battleship! As usual, it has been built in record time, thanks to Ruby (JRuby) and the ultra-compact Glimmer GUI DSL. [more inside]
Pixel Art (Punk) Quick Starter Kit - Generate Algorithmically Your Own Collection
Hello, I have put together a ready-to-fork quick starter template that lets you generate algorithmically your own curated (or randomized) collection in three steps. The sample collection â„–1 are twenty-five dodge pixel art punks. Find out more @ /punks.starter
Testing abstract Rails controllers
I recently published a gem that lets you define anonymous controllers in your tests. It’s similar to RSpec’s anonymous controller specs, but for Minitest. https://zachahn.com/posts/1628492291 [more inside]