RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  

ttharma — 4 posts

When building a custom background processing system, at one point, you need to worry about how you spin up and manage multiple worker processes. This is where most people reinvent the the wheel, and write custom code. Don't reinvent the wheel, and use Einhorn instead.
3 Ways to Create Classes in Ruby
Out of the box, there are 3 ways to create classes in Ruby. Find out how to use all 3 options, and learn when to use one option over another.
Simple Ways to Protect an API
Let's explore HTTP Basic Authentication and HTTP Token Authentication as simple solutions to protect an API from unauthorized access with examples in Ruby/Rails.
How You Nest Modules Matters in Ruby
Ruby provides two different syntaxes to nest modules (and classes), and most Rubyists treat those syntaxes as interchangeable when they shouldn't. Find out why the syntaxes are not interchangeable.