{"action":"created","issue":{"url":"https://api.github.com/repos/RolifyCommunity/rolify/issues/315","labels_url":"https://api.github.com/repos/RolifyCommunity/rolify/issues/315/labels{/name}","comments_url":"https://api.github.com/repos/RolifyCommunity/rolify/issues/315/comments","events_url":"https://api.github.com/repos/RolifyCommunity/rolify/issues/315/events","html_url":"https://github.com/RolifyCommunity/rolify/issues/315","id":56251844,"number":315,"title":"warning: already initialized constant User::HABTM_Roles","user":{"login":"jmuheim","id":1814983,"avatar_url":"https://avatars.githubusercontent.com/u/1814983?v=3","gravatar_id":"","url":"https://api.github.com/users/jmuheim","html_url":"https://github.com/jmuheim","followers_url":"https://api.github.com/users/jmuheim/followers","following_url":"https://api.github.com/users/jmuheim/following{/other_user}","gists_url":"https://api.github.com/users/jmuheim/gists{/gist_id}","starred_url":"https://api.github.com/users/jmuheim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmuheim/subscriptions","organizations_url":"https://api.github.com/users/jmuheim/orgs","repos_url":"https://api.github.com/users/jmuheim/repos","events_url":"https://api.github.com/users/jmuheim/events{/privacy}","received_events_url":"https://api.github.com/users/jmuheim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-02T15:42:15Z","updated_at":"2015-11-03T21:48:10Z","closed_at":null,"body":"I wonder whether the following issue on StackOverflow has something to do with rolify?\r\n\r\n[Running rails specs using rake command => 0 fails, while running them with rspec command => 1 warning 5 fails](http://stackoverflow.com/questions/28274138/running-rails-specs-using-rake-command-0-fails-while-running-them-with-rspec?noredirect=1#comment44904989_28274138)\r\n\r\nThe reason is that I get the following warnings:\r\n\r\n    /Users/josh/.rvm/gems/ruby-2.1.0@base/gems/activerecord-4.2.0/lib/active_record/associations.rb:1693: warning: already initialized constant Role::HABTM_Users\r\n    /Users/josh/.rvm/gems/ruby-2.1.0@base/gems/activerecord-4.2.0/lib/active_record/associations.rb:1693: warning: previous definition of HABTM_Users was here\r\n    /Users/josh/.rvm/gems/ruby-2.1.0@base/gems/activerecord-4.2.0/lib/active_record/associations.rb:1693: warning: already initialized constant User::HABTM_Roles\r\n    /Users/josh/.rvm/gems/ruby-2.1.0@base/gems/activerecord-4.2.0/lib/active_record/associations.rb:1693: warning: previous definition of HABTM_Roles was here\r\n\r\nI don't define anything like them manually, so I think it could have something to do with rolify.\r\n\r\nAny idea why this resp. what happens?"},"comment":{"url":"https://api.github.com/repos/RolifyCommunity/rolify/issues/comments/153499893","html_url":"https://github.com/RolifyCommunity/rolify/issues/315#issuecomment-153499893","issue_url":"https://api.github.com/repos/RolifyCommunity/rolify/issues/315","id":153499893,"user":{"login":"cesc1989","id":1375981,"avatar_url":"https://avatars.githubusercontent.com/u/1375981?v=3","gravatar_id":"","url":"https://api.github.com/users/cesc1989","html_url":"https://github.com/cesc1989","followers_url":"https://api.github.com/users/cesc1989/followers","following_url":"https://api.github.com/users/cesc1989/following{/other_user}","gists_url":"https://api.github.com/users/cesc1989/gists{/gist_id}","starred_url":"https://api.github.com/users/cesc1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cesc1989/subscriptions","organizations_url":"https://api.github.com/users/cesc1989/orgs","repos_url":"https://api.github.com/users/cesc1989/repos","events_url":"https://api.github.com/users/cesc1989/events{/privacy}","received_events_url":"https://api.github.com/users/cesc1989/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T21:48:10Z","updated_at":"2015-11-03T21:48:10Z","body":"+1"}}