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.

4 Fantastic Ways to Set Up State in Minitest

RSpec gives you a number of ways of setting up prior to test runs, but only some of these have direct analogs in Minitest. In this post, I show you the code that will let you approximate RSpec’s features (and explain when and why you might want to avoid using it). [more inside]

Feature Flags on Rails

In this post we will explore how we’ve implemented feature flags in a current web-application we’re working on. It’s a very simple process which means there are no excuses not to use a feature flag in your application.

How to go beyond documentation to learn a new library

You’re working with a brand new library or feature, and you just can’t understand the documentation. Maybe it’s hard to set up, so you have to bounce between RDocs until you learn how everything fits together. Maybe the documentation doesn’t even exist. Or maybe you just learn best by seeing lots of examples. You need some help. But where do you learn how to use a feature, if not its documentation?

Representable 2.1 Is Faster!

The new representable release allows to skip rendering and parsing of properties dynamically. This allows to exclude properties at run-time, e.g. to reflect permission restrictions. It also got faster and we added a debug mode to help understanding what Representable does internally.

Loading older posts