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.

Minitest::Benchmark: An Introduction

I’ve been taking a little time to explore Minitest::Benchmarks on my own and trying to put them into context with the other testing tools I use. Over the next few weeks, I’ll be writing about my findings and publishing them for you and the rest of the community to read as I go. This week I’m starting with a high-level overview to help you (and me) understand what happens in a Benchmark - what and how it tests, and what the various assertions are actually demonstrating.

Launching RubyThursday

What’s RubyThursday? It’s a free weekly (on Thursdays, get it? :) online show that gives you bite sized tutorials, tips and tricks and reviews for the latest tools, gems and sites to help you grow as a Rails developer. Hosted by a professional comedic actress turned hacker. Yep, you read that right!

Don’t Use “#” In the Paperclip Gem

I’ve learned a whole lot more about ImageMagick commands last week than I ever really wanted to know. The problem was that our uploaded images were having content cropped off the top, bottom, and sides. Like many folks in the Rails world, we pass our attachments through Paperclip to handle all of the nitty gritty resizing operations. I was interested in understanding how we could prevent our content from being cropped…:

Loading older posts