I am using cancan with rails 4. My user model has many datings and a dating has many reply. In the user controller's show action, I want to authorize all of them:
@user = User.find params[:id]
authorize! :read, @user
@datings = @user.first_page_datings
authorize! :read, @datings
# How to authorize replies of all the datings here?
Question is how to authorize replies of all the datings here?