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.

Advanced Ruby exception handling

How many times have you, while investigating an (admittedly rare ;)) production bug, stumbled upon an exception backtrace that just doesn’t have enough information? For example, an exception gets reraised, destroying the original backtrace with it. So now your logs say that your AI failed to take over the world with AIEpicFailError (great, you already know that), but not why (Timeout::Error while connecting to stackoverflow.com). [more inside]

RubyMine 2018.3 Released

The new version adds full support for Struct and rails scopes, improves i18n and refactoring features, allows you to work with pull requests right inside the IDE, and adds many other things. [more inside]

Why on earth do Fibers exist?

For a long time, I couldn’t understand what is the purpose of fibers in ruby. I could understand how to use then, but I didn’t understand when or why should I. This blogpost is a result of small research, I’ve do to find my answers.

You can see a real-world usage of Fibers in Ruby here: http://myronmars.to/n…

Building SQL Expressions with Sequel

It’s great to build SQL queries in Ruby. However, it’s not great when you have to drop to raw SQL as soon as you need to write a more complex SQL expression. At Citrusbyte we use Sequel, which has an extensive SQL expression API that allows us to build even the most advanced SQL expressions in Ruby. In this article I talk more about it and compare it with Active Record.

Loading older posts