Artem Chubchenko

Results 4 comments of Artem Chubchenko

The error occurs in this line in the [`#parent_child_conditions`](https://github.com/CanCanCommunity/cancancan/blob/3.4.0/lib/cancan/model_adapters/active_record_adapter.rb#L39) method during iteration though [`reflect_on_all_associations(:belongs_to)`](https://github.com/CanCanCommunity/cancancan/blob/3.4.0/lib/cancan/model_adapters/active_record_adapter.rb#L41). If change the order of the association definition from: ```ruby class Comment < ActiveRecord::Base belongs_to :commentable,...

Also, I would like to mention that this PR is still in progress. At that moment I'm still getting an error which is in the PR title. But to figure...

@srvaroa Thank you very much