Here is how it should work: https://gist.github.com/1394357
Here is how it should work: https://gist.github.com/1394357