fhinson/Tussify — Issue #2: JS Include Issues
Author: liuhenry
Created: 2012-01-28 06:16:18+00:00
State: open

I fixed the majority of the front end issues, typos, and other bugs.

I created a new layout called page_home and set up the controller to use that layout when rendering pages#home.

Keep in mind there should be no header code in any of the views, since the default application layout will generally not <% yield %> this correctly.

You should try to keep your code DRY and adhere to best practices like keeping reused code in one place. Hardcoding includes isn't generally recommended. This has the added benefit of less things breaking if you change code, prevents simple typos and bugs from duplicating code, and of course saves you a lot of typing time.

There continues to be issues with compilation of the slider and fancybox. I've commented those out for now and deployed it live to the production site. This could be because there's a regex matching failure when rails precompiles those assets, or that the code isn't being injected correctly into jQuery.