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.

  Today

Why blocks make Ruby methods 439% slower

You’ve probably never thought about the performance differences between blocks and yielding, but it’s dramatic. This article explains why blocks are so much slower by going directly to the MRI source code.

Find_each: get your data efficiently

Do you know what is find_each? No? This method can help you to access your data efficiently. Visit this article and start to improve your queries in big tables. Full article. Enjoy!

Link to article needs to be fixed.
Don’t care about the link. Article is in some strange language…
Hey Juan… might be good next time to mention that the article is in Spanish. A …

Disable the Capistrano Stats Prompt Manually.

Since not every build tool uses a non-tty method of deployment, the Capistrano deploy will fail. This behaviour is undocumented at the moment, and requires a manual workaround. This post details how to disable the prompt, as well as how this could be found. I think this is one of the biggest advantages of open source, the ability to look through the source code to find answers to you problems.

Railyard

If you don’t like installing the Rails gem globally in order to generate a new app, you’ll like Railyard.

Class Inheritance: Singletons + Eigenclasses

Ever wondered what that crazy “class « self” syntax means? Feel like having your mind blown with some metaprogramming magic? Check out this post on class inheritance, covering singleton methods and eigenclasses.

EuRuKo 2015

We’re happy to announce that EuRuKo 2015 will be back on October 17—18, 2015 in Salzburg, Austria!

[TUTORIAL] Authenticating Sinch from your Rails App with Devise

This tutorial will walk you through authenticating users to the Sinch JavaScript SDK with a Rails backend. You will use the devise gem to securely authenticate and store your users’ info. Once users are authenticated with devise, you will generate a token and pass it to the Sinch JavaScript SDK. [more inside]

Loading older posts