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.

Tutorial: How to use a Rails 5.1 API with React.js to make an Idea board app

Learn how to use a Rails 5.1 API with React.js by building an Idea board app. The Idea board is a simple board which displays ideas in the form of square tiles. We can add ideas, edit existing ideas and delete ideas. The tutorial covers many practical concepts including stateless functional components, class-based components, use of axios for making API calls, immutability-helper and more. You’ll also get access to the complete code.

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]

Loading older posts