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.

Rails adds #excluding to ActiveRecord::Relation

Rails adds #excluding method for an ActiveRecord::Relation to exclude the specified record (or collection of records) from the resulting relation. [more inside]

Rails adds #excluding method for an ActiveRecord::Relation to exclude the speci…
I’d like to see #excluding as an ActiveSupport extension on hashes/arrays. …

Glimmer Metronome & Hello, Canvas Animation Data Binding!

While going through drum pad practice yesterday, I noticed that my iPhone metronome app was broken after the latest update as it was ticking up on the second beat, not the first anymore. It was a small thing, but quite annoying, so I deleted the app and wrote my own Metronome app in Glimmer DSL for SWT in under 10 minutes for the initial working 4/4 rhythm version. [more inside]

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.

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]

Loading older posts