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.

How to build a read model with Rails Event Store Projection

Recently I faced interesting challenge in one of our customer’s application. Imagine that you take a test after which you get a personalised reports about your skills level. Existing mechanism for that was time and resource consuming. People had to wait for e-mail delivery with PDF-generated report several hours due to several constraints, which I would prefer not to dive into. [more inside]

Building a Discord bot in Ruby on Google Cloud Functions

I recently spent a weekend experimenting with the Discord API and writing a command for my church’s Discord server, all in Ruby of course. This is a series of four articles that step through the process, including setting up Discord integration, deploying the implementation to Google Cloud Functions, handling secrets and auth, and setting up an event-driven architecture. https://daniel-azuma.com/blog/2021/04/30/discord-command-in-ruby-on-google-cloud-functions-intro

Introducing attributes_sanitizer Rails Gem

Have you ever needed to sanitize data before sending it to the database? Do you need to ensure that a string should be always saved in lowercase without extra spaces? The attributes_sanitizer gem can help you with that. Extracted from a real project, it makes it possible to easily set up attributes sanitization for Rails 5+ projects. [more inside]

Understanding Insertion Sort in Ruby

There are lots of ways to sort data. Insertion sort is particularly interesting because it sorts the data in place and is pretty easy to understand. Of course, most of us just use the #sort method. But interviewers still love to ask questions about sorting algorithms and related topics like Big-O notation. In this post, you’ll learn not only how insertion sort works but also how to implement it yourself in ruby. https://www.honeybadger.io/blog/ruby-insertion-sort/

Loading older posts