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.

Inside the Punk Art Machinery - How To Generate 10 000 Punks, Algorithmically w/ Ruby

Hello, I added a new chapter to the Programming Crypopunks booklet titled: Inside the Punk Art Machinery - How To Generate 10 000 Punks (and Punkettes), Algorithmically - Paint by Numbers. It reads: Let’s code the artist known as generate_punk - a method that returns a (ready-to-save) punk image from the attribute parts coded as numbers starting at 1. If the code is 0 then the (optional) part gets skipped… Cheers. Prost.

factbook-codes gem - world factbook countries & codes (by region, by category, etc.)

Hello, CIA.gov has changed… I am trying to catch up and update the world factbook machinery - starting by breaking up the all-in-one “monolith”. The first standalone module is the new factbook-codes gem that lets you (re)use all world facbook countries & codes (by region, by category, etc.). Happy exploring the world. Cheers. Prost.

Read this before deploying a new Rails app to Heroku!

Have you tried deploying a new Rails app to Heroku and gotten strange errors about rake, such as “Could not detect rake tasks”, or “cannot load such file – rake (LoadError)”? This is due to a recent change in Bundler. Read my guide about Understanding Gemfile.lock for the fix. This guide is for both beginners and experienced Rubyists who might not be aware of the Bundler issue.

'Yo dawg, I herd u liek CMS' - the March 2021 release of ShinyCMS

This month’s big news for ShinyCMS is that the remaining main_app functionality has now been moved into a ‘core features’ plugin, which is a big step towards finalising the ‘pluginification’ of the whole CMS. The end goal is for ShinyCMS to be an entirely modular system that you can bolt into your own web application, rather than a stand-alone CMS - although I’ll still produce a ‘reference’ app that just includes all the plugins, so people can easily install it as a standalone CMS if they want to. There are still some loose ends to tidy up, but it’s nice to have that goal feeling very close now! :) [more inside]

Persist data when rebuilding a Rails development environment

This week in my experiments with Docker, Rails, and developer happiness, I realized that rails db:setup has a nasty side effect of wiping out any existing development data! I stumbled upon a nice workaround for persisting development databases, though, that’s good to know even if you’re not using container-based dev environments.

Loading older posts