RubyFlow The Ruby and Rails community linklog

×

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

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

  Last Friday

Video: How to use React with Rails 7

Rails 7 is coming and it has changed the way it deals with JavaScript (again). In this video tutorial, we’ll look art how to use React with Rails 7 using the default import maps method. This lesson is part of a new free course on full-stack Rails. In the next lessons, we’ll also look at using JavaScript bundlers (esbuild, rollup.js, Webpack) and gems like react-rails and react_on_rails to build a modern full-stack Rails 7 app. [more inside]

Signal handling in concurrent apps with Ruby and Polyphony

Polyphony is a library for writing highly concurrent Ruby apps. Polyphony harnesses Ruby fibers and a powerful io_uring-based I/O runtime to provide a solid foundation for building high-performance concurrent Ruby apps, while letting developers use stock Ruby core and stdlib classes and APIs. In order for provide a solid developer experience, Polyphony reimplements different parts of the Ruby runtime functionality, which are adjusted so developers will see a consistent and reliable behaviour. My latest article discusses the problem of signal handling in concurrent Ruby apps.

Glimmer DSL for Specification - Specification-First Engineering

Despite Ruby’s highly expressive nature, all testing toolkits written in Ruby are either imperative (e.g. using assert or expect), thus losing expressiveness and focusing software engineers on the wrong thing, or mix non-Ruby code with Ruby (e.g. cucumber & gherkin), thus missing out on the simplicity of Ruby. Glimmer DSL for Specification aims to provide a simple minimalistic and noun-based declarative syntax. [more inside]

Draw Color Repeat - Sandra's Samples

DCR (Draw Color Repeat) is a minimal subset of Logo that teaches computer programming to young children in elementary school. Sandra, an elementary school girl, was kind enough to share her own programs written in the DCR Programming Language. [more inside]

Punks, The William Shakespeare Edition - Super-Rare Never Before-Seen Pixel Portraits

Hello, in the ongoing pixel (art) programming series - yes, in ruby - I put together new samples. Let’s welcome Punks, The William Shakespeare Edition - Super-Rare Never Before-Seen (Pixel Punk) Portraits of the World’s Greatest Writer - Anno 2021. Yes, you can. (Re)generate super-rare never-before seen (pixel punk) portraits of the world’s greatest writer that you own 100% forever in your own home - see the genius/shakespeare script. Cheers. Prost.

The hidden features of caller

I use Ruby’s caller feature a lot when I’m debugging and trying to figure out the stack trace of a particular code path. I used to think that it couldn’t do much beyond returning the full stack trace as an Array. But it’s got some tricks! Read more.

command_kit 0.2.1 released

command_kit 0.2.1 has been released! This release contains many minor improvements and fixes. command_kit is a toolkit for building clean, correct, and robust CLI commands as plain-old Ruby classes. command_kit also provides many additional CLI features such as ANSI colors, OS/Distro detection, Package Manager detection, XDG directory support, opening a man page when --help is given, spawning less for paged output, etc.

Loading older posts