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.

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]

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

How can I help you solve your challenges related to deployment/operations/devops?

I’m the author of the Passenger app server. We’re on a mission to make Unix server tools easier to use, more convenient, more robust and generally more awesome. So we are thinking about what we should work on next. [more inside]

To me the most painful part is the management of long running processes (sideki…

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. [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!

An Easier Way to Think About `self`

Ruby’s self method can seem arbitrary, but there is an underlying structure to its behavior. When you understand it, not only will your own programs make more sense, but so will many advanced Ruby techniques which may have previously been shrouded in mystery. http://www.rubyletter.com/blog/2017/01/24/understanding-ruby-self.html

Benchmarking a Go AI in Ruby: CRuby vs. Rubinius vs. JRuby vs. Truffle – a year later

After a first run ~13 months ago I thought it was time to do a new run and see how fast our contestants have gotten since the last time! especially now that Ruby 3x3 is a thing, it asks the question how much faster are the different implementations as compared to the Ruby 2.0 baseline. Included Rubies are TruffleRuby, CRuby/MRI, JRuby and Rubinius. Check out more in the blog post!

Making sense of ActiveRecord joins, includes, preload, and eager_load

Like a pair of jumper cables, ActiveRecord’s joins, includes, preload, and eager_load methods are incredibly useful, but also very dangerous when used incorrectly. Knowing when and where to use each approach - and even when to combine them - can save you considerable trouble as your app grows.

Elixir for Rubyists

On the surface, Elixir and Ruby share a similar syntax. This familiarity may at first hide the striking differences between the two languages. Read my gentle introduction for Ruby developers intrigued to learn more about Elixir. Discover the language, created by José Valim, that took the Erlang virtual machine (BEAM) and put a sensible face on it.

Loading older posts