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�?.
This is due to the fact that “Spork�? may not be running. You would have specified the following in your spec file:
# This code will be run each time you run your specs.
Spork contains the DRb server which is not running as Spork is not running.
I had a problem to destroy associated table data,
Associations are like this:
When I am trying to delete UserFilter, the corresponding ReportFilter is not getting deleted. I want to delete that data too.
In UserFilter model, add “:dependent”
has_many :report_filters, :dependent => :destroy
In delete method, now you can call destroy method
It will delete the associated table data also.