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.

Rubyoshka: composable HTML templating for Ruby

I’m happy to introduce Rubyoshka, a new HTML templating engine for Ruby. It offers a way to write HTML markup in plain Ruby (in a similar fashion to Markaby), and to split your markup into multiple reusable components, with nice performance characteristics.

https://github.com/etm/markus.rb can do the same, plus json. …

The Ruby Reference updated for Ruby 2.6

The Ruby Reference is intended to be most full, actual and accessible language reference. Most of the reference content is taken directly from Ruby documentation and reorganized for easier reading. The core docs were augumented with some quotes from the Ruby website, and some missing content that is written specifically for the book. The source of the book (rendering scripts, config, and unique content) can be found at GitHub. Today I am releasing the new version, which was fully re-rendered for Ruby 2.6 and also includes some content and style fixes. Changelog.

[Screencast] Using Action Text in a Rails 5.2 Application

With Rails 6.0 is around the corner, Action Text has been merged into the Rails repository. However, it can still be used on a Rails 5.2 application while we wait for its official release. https://www.driftingruby.com/episodes/using-action-text-in-a-rails-5-2-application

Parallelising ETL workflows with the Jongleur gem

Jongleur is a process scheduler and manager. It allows its users to create a number of executable tasks as Ruby classes, define precedence between those tasks and run each task as a separate process. It’s particularly useful for implementing workflows modelled as a DAGs (Directed Acyclic Graph), but can be also used to run multiple tasks in parallel or even sequential workflows where each task needs to run as a separate OS process. [more inside]

Build Your Own (Offline) CryptoKitties Breeding (Offspring) Calculator

Hello, I’ve added a new chapter to the (free online) book “Programming Crypto Collectibles with Ruby” titled “Build Your Own CryptoKitties Breeding (Offspring) Calculator - Odds & Probabilities”. Happy data wrangling and genome genetics bits & bytes slicing with ruby. Cheers. Prost.

AWS Lambda Serverless Ruby Cron Jobs Tutorial

A great use case for AWS Lambda is running Cron Jobs. Instead of setting up a special one-off Cron server to run a simple task, we can just run the task on serverless nowadays. In this blog post Serverless Ruby Cron Jobs Tutorial: Route53 Backup we’ll go over how to build a simple Cron Job with Jets, the Ruby Serverless Framework. As a useful practical example, we’ll create a job that backs up route53 records. This is quite handy when if you ever need it!

Ruby Quiz - Challenge #10 - Breed Kitties - Mix Genes Using the Sooper-Sekret Formula

It’s Friday. Ruby Quiz time! Join us. Let’s keep going with a new Ruby Quiz every fortnight. Ruby Quiz - Challenge #10 - Breeding Kitties - Mix Genes Using the Sooper-Sekret Formula in the GeneSciene CryptoKitties Blockchain Contract Send your code snippets to ruby-talk. Happy data wrangling and genome genetics bits & bytes slicing with ruby.

Updated base32-alphabets library - Encode / decode numbers in 5-bit groups (2^5=32)

Hello, I’ve updated the base32-alphabets library that lets you encode / decode numbers in 5-bit groups (2^5=32) with Kai, Crockford or Electrologica notation / alphabet (e.g. break down the 240-bit CryptoKitties genome into 12 groups of 4 (x 5-bit) genes, for example). What’s news in 1.1? You can use byte arrays for encode / decode too or use Base32.bytes to get all 5-bit chunks as an (integer) byte array. Happy unique bits & bytes slicing off the (block)chain with ruby.

Loading older posts