2 min read
Ruby
When you try calling stringify_values on a Ruby Hash
Ruby dev moment: I tried to convert hash values with map(&:to_s), broke my CI, and discovered a cleaner, more Ruby-like way to do it.
3 posts found
Ruby dev moment: I tried to convert hash values with map(&:to_s), broke my CI, and discovered a cleaner, more Ruby-like way to do it.
Kamal's documentation only shows how to expose a single port, but you can publish multiple ports using the `--publish` option. Here's how to configure accessories that need multiple ports exposed.
Few days ago I stummbled upon a cool helper method in Rails called config_for. It's super useful to read any YAML based config files with ease. Let me show you.