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.

Adding Active Admin to a Rails 5 API Application

Rails 5 API applications don’t include the view-rendering functionality that Active Admin (and other admin dashboard gems) require in order to work. Nonetheless, we still want to use those admin panels to visualize and manage our API data, without having to abandon API-mode altogether. Here’s how to have the best of both worlds by installing Active Admin on a Rails 5 API-only app

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]

Parsing PDFs using Tika and Nokogiri and indexing them for searching using Algolia

A step-by-step blog post I made showing how to use Apache Tika to extract text from a PDF file (it supports thousands of other files), parsing the resulting HTML with Nokogiri, then getting the resulting data easily indexed and searchable using Algolia.

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…
Loading older posts