rails4 double nested models russian-doll-caching
问题 I have the following structure in my rails4 app for the posts. Users can comment on the post and replies can be written on the comments. I'd like to use russian-doll-caching with auto-expiring keys on the page, but I don't know how I should exactly do it in this case. Can sby tell me how to use it in this case? Models: #post.rb belongs_to :user has_many :post_comments, dependent: :destroy #post_comments.rb belongs_to :user belongs_to :post has_many :post_comment_replies, dependent: :destroy