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.
6 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.
Building even static websites will be fun with sinatra! But deploying might not be fun for everyone. So, Today I'll show you how to deploy a Sinatra App manually with Puma and Nginx.
Testing emails can be a severe pain in the ass. It takes time to deliver, sent to spam or just doesn't reach out in your inbox.
পুরা প্লাগইনই একটা ফাইলে কোড করে বসেছিলাম। সকল প্রকার HTML, লজিক, পেপালের IPN সব এক ফাইলে! এই জিনিসগুলা এখন আমি এইভাবে চিন্তাই করতে পারি না। এত মেস কিভাবে সম্ভব! এই কোড ক্যামনে মেইনটেইন করবে মানুষ!