I'm already doing a bunch of stuff inside a `$(document).ready` just above this, which is additionally in a nice `content_for :javascript` block. You can just put all of your stuff inside that same block.

In jQuery, `$(document).ready(fuction(){ ... });` is the same thing as `$(function() { ... });`. If I have the latter, don't be alarmed.