On 18 October 2014 21:06, Colin Law <[email protected]> wrote: > I hope someone can help me with this one. I have upgraded a simple > app from rails 2.3 to 4.1.6 and got the app going with little > difficulty. However when I run the tests using rake test, for every > test I get > NameError: uninitialized constant > ActiveRecord::FixtureSet::RenderContext::Fixtures
Why is it that after spending hours looking at a problem, ten minutes after posting a request for help one finds the answer oneself? The problem was that in one of the fixtures I was using <%= Fixtures.identify(:...) %> this has to be changed to <%= ActiveRecord::FixtureSet.identify(:...) %> 0 out of 10 to rails for a really helpful error message. Problem solved however, sorry for the noise. Perhaps this will be useful to someone else if they get that error. I am still surprised google did not find any reports of others with the same issue. Cheers Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLsLwa9pM3bo3-Fkc1%2BEGNkUyVg7vYsoaTNQjD%2BFWuLyrA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

