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'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