Join Newsletter


Share with:

Recent Posts

October 2011

When a website that is running locally tries to access a remote web service. XMLHttpRequest cannot load Origin is not allowed by Access-Control-Allow-Origin. To disable this security restriction in Mac Chrome open -b --args --disable-web-security See also:...

Read More

Ran into an annoying chicken/egg involving deploying to Heroku with a shared database. It seems that Heroku isn’t happy unless you have gem ‘pg’ in your Gemfile. If you are using the shared database and fail to have gem ‘pg’ in your Gemfile, you app actually deploys OK on Heroku but then generates an Application Error when you call a page. If you check the heroku logs you see something like this:

cd ~/Library/Application Support/TextMate/Bundles git clone git:// In Textmate, Bundles > Bundle Editor > Reload bundles Now open a Javascript file and to Control-Shift V and choose "JSLint" Also install Node.js (Mac user can install using this package:

Read More