No DRB server running. RUnning in local process insead…

Getting an error : “No DRb server is running. Running in local process instead ..�? while trying to execute “rspec spec�?.

SOlution:

This is due to the fact that “Spork�? may not be running. You would have specified the following in your spec file:
Spork.each_run do
# This code will be run each time you run your specs.
end
Spork contains the DRb server which is not running as Spork is not running.

Question:
I had a problem to destroy associated table data,
Associations are like this:
UserFilter
has_many :report_filters
ReportFilter
belongs_to :user_filter
When I am trying to delete UserFilter, the corresponding ReportFilter is not getting deleted. I want to delete that data too.

Solution:
In UserFilter model, add “:dependent”
has_many :report_filters, :dependent => :destroy
In delete method, now you can call destroy method
user_filter.destroy
It will delete the associated table data also.