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.

Flutterby Event Handling

I’m building a static site generator that can also be used as a full-on web application framework. Or is it a web application framework that can also be used as a static site generator? Seriously, what is this thing? Have I simply had too much chocolate milk again? [more inside]

The Importance of Benchmarking on Production: Redis Edition

There comes a time to benchmark your application and its services . However, if it’s not done properly, then your results can very misleading. In this post, I’ll throw some numbers at you to demonstrate the massive differences between benchmarking locally, on production, and locally pointing at a cloud resource. The numbers for each set of tests are different by an order of magnitude, demonstrating the importance of using the proper setup. [more inside]

A Secure JWT Authentication Implementation for Rack and Rails

I would like to share two Ruby libraries I made in order to implement some security tips in JWT token authentication. One of them is warden-jwt_auth, which can be used in any Rack application that uses Warden as authentication library. The other one is devise-jwt, which is just a thin layer on top of the first that automatically configures for devise and, subsequently, for Ruby on Rails. [more inside]

Setting up a simple Rails development environment with Docker for fun and profit

Creating a development environment may seem like a trivial task for many developers. As time progresses, and we find ourselves dwelling through the life cycle of so many projects, one probably ends up with a fragile and cluttered development machine, filled with an entropic set of unmanageable services and library versions, ultimately getting to a point where things simply start to crack without any apparent reason. [more inside]

Install and SSH to Ubuntu Server on VirtualBox

This tutorial on the Treehouse blog will help you set up a virtual production server for testing out various deployment scenarios. The post will walk you through setting up a virtual machine on VirtualBox running Ubuntu Server (a common OS for Rails production deployments). Then, you’ll learn how to set up port forwarding so you can SSH from your development system into the virtual server.

Someone reported this post with our new reporting system. I imagine due to it b…
I’ll assert that it’s relevant because I actually created it for the explicit p…

Bulk, Background Elasticsearch Reindexing with Searckick 2

Lots of reindex requests slowing down your elasticsearch cluster and Rails app? This post details how to setup bulk background reindexing with Searchkick 2, as well as diving into some benchmarks and other thoughts on the process. It’s much quicker than reindexing directly in your web thread, or even using individual reindex jobs and will reduce the load on your cluster accordingly. [more inside]

Engineering Our Schemaless Data Store with Shameless

The hotel industry is full of big scale engineering challenges. One of them is how to manage the large volume of hotel rate updates while making reading them fast. In this article on Build Tonight, the HotelTonight team will show you how we’ve built an append-only, distributed, schemaless data store built on top of MySQL. Once our solution was battle-tested in production, we extracted it to a gem. That’s how Shameless was born. [more inside]

Posts can now be "reported" to the moderation team

I want to thank the many of you who have insisted time after time that a “report this post” feature was needed on here. We now have one! It’s still in testing, only on front page posts, and only available to logged in users for now, but it sends a notification to the team to review posts that may be spammy, offensive, off-topic, etc :-) [more inside]

@CHRIS: You’re welcome, my pleasure. Few more issues: 1) link does not need to …
@CHRIS: Sorry, I promise this is the last one: when I click to report an articl…
Thanks Kaloyan, your feedback is really great!
Awesome. Thanks for implementing this!
Loading older posts