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!

Pluckr - gem to query your DB efficiently

https://github.com/igorkasyanchuk/pluckr - a gem that can return results from multiple queries using 1 SQL statement.

Reduce the number of round trips you are making to the DB.

I have some benchmarks: https://github.com/igorkasyanchuk/pluckr/blob/main/BENCHMARKS.md, and even a simple happy path is 2x faster.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in