Keep getting respond_to? errors

Every time I save a model spec I get this:
super: no superclass method `respond_to?’

And I have to restart autotest to get it to go away.

Is there any solution to this?

On Aug 4, 2008, at 5:55 PM, Fischer, Daniel wrote:

Every time I save a model spec I get this:

super: no superclass method `respond_to?’

Are you running under drb? Autotest? What version of rspec? rails?

I’m almost certain this is a rails loading bug…Are you requiring
anywhere? What is the value of config.cache_classes in your test.rb?

Scott

Are you running under drb? Autotest? What version of rspec? rails?

I’m almost certain this is a rails loading bug…Are you requiring
anywhere? What is the value of config.cache_classes in your test.rb?

Same prob. Passing tests pass, and the first failing test fails
correctly… but ever afterwards the permanent ‘respond_to?’ error
plagues me until I restart autotest

Running autotest with Rspec -v 1.1.4 and rails 2.1.0

no special requiring (except spec_helper at the top, of course) and
config.cache_classes is true

I tried setting config.cache_classes to false, but that didn’t change
the above countdown to FAIL :confused:

Any fix on this yet?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs