Skip to content

Instantly share code, notes, and snippets.

@joelchretien
joelchretien / linq-vs-ruby-enumerable-vs-activerecord-relation.md
Last active Nov 4, 2018
Compare .NET Linq vs. Ruby Enumerable vs. ActiveRecord Relation
View linq-vs-ruby-enumerable-vs-activerecord-relation.md

All

Linq

Console.WriteLine(new[] { 1, 2, 3 }.All(x => x > 2)); //=> false

Enumerable

# => false

ActiveRecord

# => false


You can’t perform that action at this time.