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.

Ruby ♡ Unicode

What is a character in Unicode? What are, and how to use the Unicode case-mapping and normalization algorithms in Ruby? How to detect emoji in text? What is the difference between invalid codepoints and non-characters? Answers to all those questions might be found in Idiosyncratic Ruby Episode 66: Ruby has Character

An Open Source Data Dictionary for Cities in RoR5 + React

As Cities start working through the ‘What Works Cities’ program, you quickly come upon the requirement to build a ‘data dictionary’. Looking around, everything looked like some variation of a spreadsheet, but I wanted to something that would help visualize and surface the data relationship between our myriad applications. [more inside]

Arel with Wharel

Wharel is a tiny little gem that uses the empty room pattern to make Arel queries easier to build. In this blog post, I walk through all 31 lines of this tiny gem and the features of Ruby’s object model that make it so simple and powerful.

Ruby's magical Enumerable module

It’s time for another episode of Ruby Magic! In issue #13, we’ll look at one of Ruby’s most magical features, which provides most of the methods you’ll use when working with Ruby’s enumerable classes like Array, Hash and Range. We’ll learn about the Enumerable module and the Enumerator class, and we’ll make our own object enumerable by implementing #each from scratch. https://blog.appsignal.com/2018/05/29/ruby-magic-enumerable-and-enumerator.html

The Case for before_validation Callback: Complex State Normalization

A few months ago I wrote a blog post about ActiveRecord before_validation callback and how it is used for wrong reasons and concluded that in most cases this is not something we should be using routinely. However, I missed one appropriate use case for it which might be quite common in Rails apps, so this might be an excellent opportunity to get back to before_validation callback and show its other side. [more inside]

Spina CMS 1.0 released

After more than 3 years we are releasing Spina CMS 1.0! [more inside]

Beautiful, just installed it and everything is working. I really love the fact …
Thanks Murdoch!
Loading older posts