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.

BasedUUID: URL-friendly UUIDs for Rails models

I made a gem for encoding UUIDs into a URL-friendly, prefixed, base32 format. The rationale behind it is to provide a more manageable, “double-clickable” UUID format and allow for easy lookup (for any model, based on registered prefixes). Inspired by StripeIDs and ulid. [more inside]

How comes your example has an “o” in it but “o” isn’t in the base32 alphabet in…

re2 2.5.0: new matching interface and revamped documentation

Version 2.5.0 of the Ruby bindings to RE2 is now available. A “fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python”, it is designed to eliminate ReDoS attacks and make it safe to process patterns from untrusted users. The latest version features a new full_match and partial_match interface to match the underlying C++ library and revamped documentation.

How to add a man page to your Ruby project

Ever notice how when you run git clone --help it displays it’s own man page instead of the usual --help output? Ever wanted to add that same functionality to your Ruby CLI to make it more user friendly? In this blog post I will walk you through how to write a man page and add it to your Ruby command.

Loading older posts