Closed bradrobertson closed 10 years ago
Why are you setting eager_load=true in test? My understanding was the recommendation is to have that set to false in test
ya i didn't really understand eager_load to begin with. we've fixed it to set it to false and it works
We're playing with teaspoon in both our main line dev branch (Rails 3) and an experimental rails 4 branch.
In Rails 3 if we have
config.cache_classes=true
we get the exception below. On Rails 4 we can haveconfig.cache_classes=true
but if we setconfig.eager_load=true
in the test env, we also get the exception below.If we change this to not cache the classes in Rails3 (or eager load on rails 4), then it works fine. Any idea?