Use dependent: :nullify in Rails associations to preserve child records when parent objects are deleted.
Ruby
A Ruby arrays cheatsheet with methods and examples for coding interviews.
Key types in Ruby hashes depend on hash syntax.
Many ways of sorting hashes in Ruby.
Several methods of iterating through Ruby hashes.
Set a default Ruby version using RVM with rvm –default use
Diving into useful constants in Ruby’s Date class