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.

Batching – A powerful way to solve N+1 queries every Rubyist should know ☝️

I published the post about batching as a technique which helps avoid N+1 queries, existing battle-tested tools like Haskell Haxl and JavaScript DataLoader, and how similar approaches can be used in any Ruby code including RESTful APIs and GraphQL: https://engineering.universe.com/batching-a-powerful-way-to-solve-n-1-queries-every-rubyist-should-know-24e20c6e7b94

Thanks for sharing!

Yet another introduction to pundit gem

Security is an important aspect of application development. Two main components of security are Authentication (Who are you?) and Authorization (are you supposed to be here?). Authentication verifies the user’s identity while authorization verifies whether that user has access rights on certain resources to perform actions on them. [more inside]

Mobility 0.2: Now with Plugins

I’ve just released the second major version of Mobility, the Ruby pluggable translation framework I’ve been working on recently. In this blog post, I describe some of the new features: extensibility through a plugins structure, more configuration options, enumerability, and more.

Loading older posts