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!

Query collections of ActiveModel objects like an ActiveRecord::Relation

Working with collections of ActiveModel objects next to ActiveRecord objects is always kinda awkward because the interfaces for filtering, sorting, and querying are so different ๐Ÿ˜ซ This is why we just released ActiveModel::Relation which attempts to provide the same interface to work with collections of ActiveModel objects that youโ€™re used to from ActiveRecord::Relation ๐ŸŽ‰ Check out the repository to learn more!

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in