Ruby odds and ends