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 unicorn talks to nginx – an introduction to unix sockets in Ruby

In this post we start out with the basics of unix sockets and finish by creating our own simple Ruby application server which can be proxied by nginx. http://blog.honeybadger.io/how-unicorn-talks-to-nginx-an-introduction-to-unix-sockets-in-ruby/

Writing Smart Migrations: References, Reversible, And Indexes

Building a new feature usually means having to restructure the architecture of your application. In other words: writing a lot of migrations to modify your schema. This blog post looks at how to use references, reversible, and indexes to write smart migrations, and make things easier for developing your application in the long run.

Creating generators and executables with Thor

Thor is an amazing library for creating generators and executables. It gives you methods for creating and copying files and directories, defining symbolic links, reading remote files, and more. And is the perfect companion for gems that need to generate a project structure, just like Rails. Check it out.

Level-up `rescue` with dynamic exception matchers

When you use a rescue clause in Ruby, you can specify what kinds of exceptions you want to rescue. But what if you want to rescue exceptions by severity? By message? By time of day? In this post we’ll discuss how you can create dynamic exception matchers that use your logic to decide if an exception gets rescued. http://blog.honeybadger.io/level-up-ruby-rescue-with-dynamic-exception-matchers/

Loading older posts