Ask for help
- We have ruby files where the class isn’t named the same as the file. When we deploy to an environment that runs with memcache, the classes can’t be loaded from memcache and we get a ‘no constant defined’ error.
Other than, “don’t name your files like that” the next best answer is to setup some file that eager loads all of your classes by name before memcache gets loaded.
Interesting Things
- jQuery 1.6.2 crashes IE8 when the page has a background image on the body. If you see this upgrade to jQuery 1.6.4 unless you want to crash the most popular browser.
Use require_dependency in the file that uses the caching.
October 3, 2011 at 9:54 am