On Wed, Mar 24, 2010 at 10:39 AM, Ben Fyvie wrote:
> We have a test that has been working find until we upgraded to rails 2.3.5.
> I’m not too familiar with mocks/stubs so maybe there is an easy solution.
>
> Here is a simple example of our scenario.
>
> Class Person < ActiveRecord::Base
> has_m
We have a test that has been working find until we upgraded to rails 2.3.5.
I'm not too familiar with mocks/stubs so maybe there is an easy solution.
Here is a simple example of our scenario.
Class Person < ActiveRecord::Base
has_many :aliases, :dependent => :nullify
before_destroy