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.


Notes On Sane Monkey-patching

Here are (semi)random notes, trying to outline a system of views on controversional “monkey-patching” topic—the views I myself consider sane and reasonable. It may seem other way for you, but it could be a start for rational discussion. (discuss on reddit)

Fighting duplication in AngularJS controllers

There are not so many challenges you face when working with AngularJS framework. In this article I would like to discuss code duplication in AngularJS controllers. Duplication is not something new but with AngularJS I saw some approaches that I didn’t like but those are widely used.

Hey Darya, your article is helpful, AngularJS is popular among Ruby developers …

Rubocop for your favorite text editor

Have you ever wondered if your favorite code editor examines your Ruby code just like rubocop gem does ? [more inside]

/bin/sh: /Users/tycooon/.rvm/bin/rvm-auto-ruby: No such file or directory rbenv…
as per the docs : y default this plugin uses rvm to run RuboCop, but you can sw…

Easily View Postgres Query Plans from Active Record with pg-eyeballs

pg-eyeballs is a ruby gem that gives you detailed information about how the SQL queries created by the active record code you write are executed by the database. It gives you an easy, ruby friendly way to see the output of the Postgres EXPLAIN command and integrates with the popular query analysis tool gocmdpev. [more inside]

Stabilizing Your Test Suite Settings

We had recurring issues in our test suite when developers changed global settings without setting them back. This post describes how we prevented that from happening. [more inside]

Dynamic breaking points in Ruby

Being inside a breaking point, you can create more breaking points! An interesting approach that can save you some time when debugging a codebase that is new for you. Read more

My Last Rubyconf Brazil

I was the organizer of Rubyconf Brazil until this year, when I finally completed a personal goal I have set to myself 10 years ago. [more inside]

Decoding Rails Magic: How Does ActiveJob Work?

Executing background jobs is quite a common feature in many of the web applications. Switching between different background processing frameworks used to be quite painful as most of them had different API for enqueuing jobs, enqueuing mailers and scheduling jobs. One of the great addition in Rails 4.2 was a solution to this problem: ActiveJob, which provides extra layer on top of background jobs framework and unifies the API regardless of the queue adapter you use. But how exactly does it work? What are the requirements for adding new queue adapters? What kind of API does ActiveJob provide? Let’s dive deep into the codebase and answer these and some other questions. [more inside]

Using Jekyll within a Rails app, on Heroku

We wanted to use jekyll to build a simple marketing homepage for an upcoming product but keep it on the same domain as the app itself. I’m describing the steps needed to set up jekyll to work within a rails app and how to get it running on Heroku in a quick blog post.

Loading older posts