Skip to content

Instantly share code, notes, and snippets.

@baldwindavid
Created August 19, 2009 17:22
Show Gist options
  • Save baldwindavid/170487 to your computer and use it in GitHub Desktop.
Save baldwindavid/170487 to your computer and use it in GitHub Desktop.
- In HEAD
:javascript
jQuery(document).ready(function($){
#{yield :ready}
});
- In VIEW
- content_for :ready do
# your JS stuff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment