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.

Querying At Warp Drive: Using ActiveRecord Includes

We can make our code work and make our code right, but when it comes to making it fast…well, that’s a whole other story. Learn how to make smart queries at warp speed using a handy ActiveRecord method called includes. This post dives into the computer science theory behind quick querying and explains how this method can make your Rails apps more efficient.

7 Steps to Better Cucumber Tests

When you are starting out with rails testing there are so many things you need to learn about and thus it’s very hard to have a clear picture of what goes where. I’ve posted a few tips on how to improve your cucumber features. Check them out

Use Minitest for Your Next Rails Project

I recently switched to Minitest after using RSpec exclusively for many years. Being the less-popular Rails test framework, Minitest documentation and examples can be hard to find. Rails 3 and 4 instructions can contradict each other. And even the basic terminology is confusing: what is the difference between Test::Unit and Minitest? Which does Rails ship with? I answer questions like these and more in my Rails and Minitest setup guide.

Ruby global method cache invalidation impact on a single and multithreaded apps

Do you know what Ruby global method cache is? No? Well you should, because the way it works can have a serious impact on software that you develop. You can check some single and multithreaded benchmarking that I did together with their results here: http://dev.mensfeld.pl/2015/04/ruby-global-method-cache-invalidation-impact-on-a-single-and-multithreaded-applications/

Loading older posts