Open jadamdipak opened 4 years ago
Hi @jadamdipak , apologies if I'm missing your point here, but you should be able to access the deleted associations per the below:
When creating the association:
class User < ActiveRecord::Base; has_many :notifications, -> { with_deleted }; end
or explicitly
User.find(params[:id]).notifications.with_deleted
Anybody can help me, how we get associate records with_deleted scope