I have quite a few partials in my application, and some of them need to do some jQuery goodness at $(document).ready time.
The problem is, if I put the $(document).ready directly into a script block for the partial, then this gets overridden if another partial does the same thing.
It seems a solution where the various $(document).ready tidbits are gathered up and then included in a single $(document).ready instance is needed.
Is there a defined way to do this already?