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.

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/

Rails Wizards (9-part-series)

https://jonsully.net/blog/rails-wizards-part-one/ — I spent the last few weeks investigating the storied history of building a multi-step form / wizard in Rails. Seems like there’ve been a lot of proposed ways to make the cookie crumble in Rails’ long history. I hoped to add clarity to a few means of doing that while investigating my own needs for my specific project. Hopefully it’s a net-positive 😊

Loading older posts