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.


tty-cursor v0.1.0 first release

The purpose of tty-cursor library is to help move terminal cursor around using intuitive commands. It also allows to clear text in relation to the current cursor position. This is a independent component in tty ecosystem. Enjoy!

Shrine 1.0.0 released

A month ago I released Shrine, a new solution for file uploads in Ruby, and now it has reached 1.0.0. There are a lot of new features, improvements and fixes, take a look at the release notes.

How does this compare to Paperclip?
I’ve made a blog post about Shrine a month ago which explains the main ideas, a…
Very nice, I loved the code design. Is Refile going to be maintained in future?…
Well, Refile will probably continue to be maintained as it is now, but I’m not …

Making controller logic easier to test, by removing it from the controller

The gem can be found here: It’s inspired by trailblazer, but sticks more to how rails is laid out. To use the default functionality, for each of your actions, you can just do: render json: model or however you want to render the response. model is a memoized method that looks up an operation and policy and applies whatever custom logic you want to implement. Checkout the readme for details. [more inside]

Getting Started with Minitest

Just published a tutorial for SemaphoreCI’s community on using Minitest in your Ruby projects with TDD. Check it out here.

Loading older posts