Content posted here with the permission of the author, who is currently employed at Josh Software. Original post available here. In this article, Let's see how audio recording is possible without any shim or plugin, but only by using the Recorder.js library in the browser and how to upload recorded file on s3 (Or any … Continue reading Record and export Audio files in browser using Recorder.js and upload it on cloud.
Background - I have my site hosted on AWS EC2 server which is behind ELB (Elastic Load Balancing). I wanted my site to work on HTTPS. So I provisioned SSL certificate through AWS certificate manager and uploaded it on ELB. ELB receives traffic on both ports 80 and 443 and forwards it to single port … Continue reading Redirect HTTP to HTTPS when using ELB
Tip : count is incorrect if used with limit in mongoid Database : Mongodb 1. campaigns = Campaign.all campaigns.count => 211943 2. campaigns = Campaign.limit(1000) campaigns.count => 211943 campaigns => nil I was expecting count as 1000 for second query, but it came out to be same as first one. But actual objects stored in … Continue reading RoR Tips & Tricks Series – #2
I am staring this series of blog posts. This will cover few tips and / or tricks from ROR. We as developer come across a situation, where we struggle to solve the problem. Once solved we realise that, in our trial and error efforts we have found some trick, which is not documented. This blog … Continue reading RoR Tips & Tricks Series – #1
Recently Heroku released new version of postgres 9.1 with new price plans. A notice was send to all users to migrate from there existing share database to new planes released with Postgres 9.1. In these new plans concept of limit on using free shared database is changed from db size (5 MB) to limit on … Continue reading Migrating to new Heroku Postgres plans