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.

How to find a memory bloat in your Rails app before it happens

Memory bloat in Ruby happens when someone loads a lot of data to the memory. Ruby Virtual Machine does not return most of the allocated memory to the operating system even after data is collected as a garbage. It’s not a big deal for local development or console programs, but if you have a bloat in the big Rails app it might cost you a lot of money. [more inside]

gitti-backup & hubba gem In Action - Back-Up Your GitHub Repos Via git clone --mirror

Hello, what if your github repos are gone with a 24-hour (email) notice while you are offline? Prepare yourself and keep your own backups using the gitti-backup and hubba gems. See the How-To Back Up Your GitHub Repos - A Step-By-Step Guide for a write-up. Cheers. Prost. PS: What are your options? Do you use your own script(s) or other readymade tool(s) - please tell.

devise-otp 0.5.0 is out!

Since we got a brand new Devise release working with Turbo, I am also releasing devise-otp 0.5.0 so you can use the gems together inside your Hotwire app. If you want to skip building up all these 2FA flows, Business Class got updated with these latest Devise gems too!

Step-By-Step Guide to Generate 100 Ordinal Punks In Your Own Terminal Via Text-Prompt

Hello, I have written-up a step-by-step guide to generate a “pixel-perfect” copy of the Top Selling 100 Ordinal Punks (in your own terminal) via text-prompts¹ (“attributes”)’. Yes, in ruby (using the pixelart gem, the artfactory gem, the punks gem, the backgrounds gem, the chunky_png gem, the cocos gem, the csvreader gem, & some more. Happy pixel pushing with ruby. Cheers. Prost. PS: Note¹ - Sorry - no artificial intelligence (a.i.) models in use :-( - just plain old “hard-coding by-hand”. Update While working on filing the counter notice - see the gitlab mirror backup for the step-by-step guide.

Adding Sorbet to a Rails project

Sorbet is a static type checker for Ruby. In this post, we will walk though how we can add sorbet to a new Rails app. Along the way, we will also see a few examples of how sorbet can help you identify and fix bugs in your code. [more inside]

ordinals gem - "right-clicker" (off-chain) ordinals (pixel art) machinery & helpers

Hello, in the ongoing crypto winter programming series in ruby I added yet another gem, that is, ordinals that incl. the ordbase command-line tool that lets you download, downsample & compose all-in-one ordinal (pixel art) collections from the bitcon blockchain via ordinals.com. See the ordinals readme for a ordinal punks step-by-step real-world example. New to ordinal punks? See Awesome 100 Ordinal Punks (Anno 2023) Notes. Happy blockchaining with ruby. Is bitcon up for a come back with ordinal digital artefacts? Are 8-bit golden (pixel) punks or birds (in png) the new digital gold nuggets? Cheers. Prost.

Loading older posts