How to change table for Rails models on the fly

Maybe you need your multi tenant application database to partition horizontally (shard). Probably you want to store different customers data in different tables.

How to deploy Sinatra App with Puma and NginX (manually - no Capistrano)

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.

MailCatcher - Your development mail server and client

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 সব এক ফাইলে! এই জিনিসগুলা এখন আমি এইভাবে চিন্তাই করতে পারি না। এত মেস কিভাবে সম্ভব! এই কোড ক্যামনে মেইনটেইন করবে মানুষ!

Forward email from CloudFlare with Mailgun

It's extra pain if you have lots of domains. Then you might not want to maintain separate inbox for all domains. All you might is forward branded email to a central inbox. And for that I really don't want to pay!

Setup Rails with Ember.js CLI and Emblem

Anyway, as usual I'm using Rails for my API and backend app. The problem I faced is setting it up with latest Ember. In Ember land, everything from 3-4 months ago, is outdated.