FIX: Variable collision prevents defining permissions with multiple nested conditons. closes #965 #966

Open
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant

knoopx commented Nov 21, 2013

Example

can :read, Comment, post: {private: false, author_id: author.id}

Raises NoMethodError: undefined method table_name for nil:NilClass

avokhmin added a commit to rosa-abf/cancan that referenced this pull request Mar 14, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment