{"action":"created","issue":{"url":"https://api.github.com/repos/be9/acl9/issues/87","labels_url":"https://api.github.com/repos/be9/acl9/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/be9/acl9/issues/87/comments","events_url":"https://api.github.com/repos/be9/acl9/issues/87/events","html_url":"https://github.com/be9/acl9/issues/87","id":50851597,"number":87,"title":"SystemStackError when attempting to add new role to subject","user":{"login":"psulightning","id":3082455,"avatar_url":"https://avatars.githubusercontent.com/u/3082455?v=3","gravatar_id":"","url":"https://api.github.com/users/psulightning","html_url":"https://github.com/psulightning","followers_url":"https://api.github.com/users/psulightning/followers","following_url":"https://api.github.com/users/psulightning/following{/other_user}","gists_url":"https://api.github.com/users/psulightning/gists{/gist_id}","starred_url":"https://api.github.com/users/psulightning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psulightning/subscriptions","organizations_url":"https://api.github.com/users/psulightning/orgs","repos_url":"https://api.github.com/users/psulightning/repos","events_url":"https://api.github.com/users/psulightning/events{/privacy}","received_events_url":"https://api.github.com/users/psulightning/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-12-03T15:30:22Z","updated_at":"2015-01-09T15:50:30Z","closed_at":"2014-12-15T21:13:59Z","body":"    class User < ActiveRecord::Base\r\n        acts_as_authorized_subject\r\n    end\r\n    \r\n    class Role < ActiveRecord::Base\r\n        acts_as_authorized_role\r\n    end\r\n\r\nUsing Ruby 1.9.3/Rails 3.2 with acl9 0.12.1, any time I try to `user.role_objects` in my tests I receive a SystemStackError because `Acl9::ModelExtensions::ForSubject#role_objects` will cycle on itself since the default association name is :role_objects.  I know I can pass in the association name, but when I do, `user.destroy` gives a NoMethodError: undefined method `association_class' for nil:NilClass.\r\n\r\nDo I have a configuration wrong?  Thanks."},"comment":{"url":"https://api.github.com/repos/be9/acl9/issues/comments/69352337","html_url":"https://github.com/be9/acl9/issues/87#issuecomment-69352337","issue_url":"https://api.github.com/repos/be9/acl9/issues/87","id":69352337,"user":{"login":"smathy","id":50139,"avatar_url":"https://avatars.githubusercontent.com/u/50139?v=3","gravatar_id":"","url":"https://api.github.com/users/smathy","html_url":"https://github.com/smathy","followers_url":"https://api.github.com/users/smathy/followers","following_url":"https://api.github.com/users/smathy/following{/other_user}","gists_url":"https://api.github.com/users/smathy/gists{/gist_id}","starred_url":"https://api.github.com/users/smathy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smathy/subscriptions","organizations_url":"https://api.github.com/users/smathy/orgs","repos_url":"https://api.github.com/users/smathy/repos","events_url":"https://api.github.com/users/smathy/events{/privacy}","received_events_url":"https://api.github.com/users/smathy/received_events","type":"User","site_admin":false},"created_at":"2015-01-09T15:50:30Z","updated_at":"2015-01-09T15:50:30Z","body":"No need to apologize, I appreciate you confirming that it works now. Thanks :smile: "}}