ruby mappings