[rspec-users] Why do I have to require_dependency here?

David Chelimsky dchelimsky at gmail.com
Mon Apr 7 16:09:50 EDT 2008


On Mon, Apr 7, 2008 at 4:08 PM, Ashley Moran
<ashley.moran at patchspace.co.uk> wrote:
>
>  On 7 Apr 2008, at 21:01, Ashley Moran wrote:
>
>  > The fix is to put this at the top of the controller file:
>  > require_dependency "user_state"
>
>
>  I spoke to soon :(
>
>  This fixes it for a single controller run, but still breaks when
>  autotest re-runs the one controller after making a change.
>  Something's really wrong with class loading and I'm pretty sure it was
>  introduced between 1.1.3 and r3333.

Did anything else change in your setup? Rails version? Autotest
version? Just checking :)

>
>
>
>  Ashley
>
>  --
>  http://www.patchspace.co.uk/
>  http://aviewfromafar.net/
>
>
>
>  _______________________________________________
>  rspec-users mailing list
>  rspec-users at rubyforge.org
>  http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list