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? Read more

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. Read more

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. Read more

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. Read more

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. Read more

StateInspector 1.0.0 Released! Introspection & Debug Tool. via @6ftdan

I’m proud to say I’ve released a project StateInspector at 1.0.0! This tool boasts the ability to listen to all method calls and report them in whichever fashion you choose to. Whether you want to log them to a log file or keep the data internally in simple collections. This tool will help you know what’s going on and in what order! danielpclark/state_inspector

PushType: the path to version 1.0

What started as an internal side project, our little Ruby content management system, PushType, was revealed as an open source project in 2016. Since then, developers around the World have been using PushType in their own projects and a small and friendly community is beginning to form. See what’s underway this year as we gear up for PushType version 1.0

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. Read more

Loading older posts