- Sort by multiple fields: Reference
array.sort_by do |item| [item.a, item.b] end
- Check intersection of two arrays;
arr1 & arr2then do a
.empty?after to see if they have elements similar to each other.
bin/setupto run the setup script for Rails when you onboard another dev.
- The Golfcrow API client is awesome.