update rails docs so they're in parity with the javascript docs

I encountered the error that other folks identified in #2057 

I did some investigation and it looks like the current javascript documentation recommends that the initialization of foundation occur at the bottom of the `<body>`. I've updated the Rails docs so others can avoid this error.