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.

Benchmarking Ruby's `method_missing` vs `define_method`

Optimizing slow codebases starts by focusing on low-hanging fruits, but facts are more than recommended to justify any sort of change. So I went ahead and benchmarked/graphed the performances of method_missing and define_method.

http:// is missing in the link
First off, thank you, Frank! Second, here’s a link that works franck.verrot.fr/…
I’ve fixed the post, although you can edit your own here as well :) Thanks! …
Oops… thanks a lot Ruby friends for mentioning / fixing the link :-)

Understanding Ruby’s strange “Errno” exceptions

If you’ve ever taken a look at Ruby’s exception hierarchy, you may have noticed something weird. In addition to all of the normal exceptions like RuntimeError and NoMethodError, there’s an odd reference to Errno::* . This post discusses what these exceptions are and how to interpret them. http://blog.honeybadger.io/understanding-rubys-strange-errno-exceptions/

Turn Ruby conference talks into your own personal podcast

Ruby conference videos are great. But videos take time. So, after conference videos are posted, I’d love to take some of the non-code-heavy talks and put them where I’ll naturally run into them: inside my podcast player. And it turns out there’s a pretty easy way to do just that.

A theoretical introduction to unix daemons in Ruby

Unix daemons are programs that run in the background. Nginx, Postgres and OpenSSH are a few examples. They use a some special tricks to “detatch” their processes, and let them run independently of any terminal. I thought it’d be fun to do a post illustrating how they work in Ruby. http://blog.honeybadger.io/unix-daemons-in-ruby/

All the Columns Fit to Index: Unique + Compound Indexing

Database indexing is often unchartered territory for many developers. Adding an index can be a powerful and efficient tool in application performance. But there are many different types of indexes out there…how do you know what your options are – and which ones to choose? This blog post dives into indexes and explores two cool techniques for using them: unique and compound indexing.

Vienna.html - Europe's 1st Jekyll (Static Site) User Group - Start Your Own City.html

Hello, still a little early - if you happen to be in Central Europe - I’m starting up Europe’s first Jekyll User Group in Vienna, Austria. The group name is Vienna.html in honor of the static nature of a Jekyll site. Missing out? No worries - why not start you own YourCity.hmtl group. If you’re interested in all things “Static is the new Dynamic “ follow along on Twitter @viennahtml. Join us. No database required. Cheers.

Just Learn Rails (Part 2)

In a previous post I explained how “just learning Rails” is not as straight forward as the phrase portrays. Even the novice programmer who learns Ruby on Rails in a methodical progression may still run into hardship. However, this is not entirely the fault of young programmer, he or she was simply enabled into bad habits. Ruby on Rails enables the complete disregard of encapsulation.

Great article. I would love to see more parts :D

The Best of RailsConf 2015

I went through the 94 presentations from RailsConf 2015 and found the best of the best (IMHO). Here are videos of my 8 favorite talks, including a nice mix of general interest, in-depth Rails, and JavaScript-heavy topics. I decided to skip the keynotes in order to surface some of the presentations that maybe you haven’t seen yet. Enjoy!

Loading older posts