{"action":"created","issue":{"url":"https://api.github.com/repos/RolifyCommunity/rolify/issues/298","labels_url":"https://api.github.com/repos/RolifyCommunity/rolify/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/RolifyCommunity/rolify/issues/298/comments","events_url":"https://api.github.com/repos/RolifyCommunity/rolify/issues/298/events","html_url":"https://github.com/RolifyCommunity/rolify/issues/298","id":50450543,"number":298,"title":"Warning when I add rolify method to admin model","user":{"login":"mintuhouse","id":769950,"avatar_url":"https://avatars.githubusercontent.com/u/769950?v=3","gravatar_id":"","url":"https://api.github.com/users/mintuhouse","html_url":"https://github.com/mintuhouse","followers_url":"https://api.github.com/users/mintuhouse/followers","following_url":"https://api.github.com/users/mintuhouse/following{/other_user}","gists_url":"https://api.github.com/users/mintuhouse/gists{/gist_id}","starred_url":"https://api.github.com/users/mintuhouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mintuhouse/subscriptions","organizations_url":"https://api.github.com/users/mintuhouse/orgs","repos_url":"https://api.github.com/users/mintuhouse/repos","events_url":"https://api.github.com/users/mintuhouse/events{/privacy}","received_events_url":"https://api.github.com/users/mintuhouse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-11-30T07:44:44Z","updated_at":"2015-01-26T11:35:24Z","closed_at":null,"body":"````\r\nclass Admin < ActiveRecord::Base\r\n  rolify\r\n\r\n  ....\r\nend\r\n````\r\nWhen I add rolify method to Admin model and run db:migrate, I get these warnings. Am I doing something wrong?\r\n````\r\n/gems/activerecord-4.1.8/lib/active_record/associations.rb:1585: warning: already initialized constant Admin::HABTM_Roles\r\n/gems/activerecord-4.1.8/lib/active_record/associations.rb:1585: warning: previous definition of HABTM_Roles was here\r\n````"},"comment":{"url":"https://api.github.com/repos/RolifyCommunity/rolify/issues/comments/71448281","html_url":"https://github.com/RolifyCommunity/rolify/issues/298#issuecomment-71448281","issue_url":"https://api.github.com/repos/RolifyCommunity/rolify/issues/298","id":71448281,"user":{"login":"sazzadNascenia","id":9584472,"avatar_url":"https://avatars.githubusercontent.com/u/9584472?v=3","gravatar_id":"","url":"https://api.github.com/users/sazzadNascenia","html_url":"https://github.com/sazzadNascenia","followers_url":"https://api.github.com/users/sazzadNascenia/followers","following_url":"https://api.github.com/users/sazzadNascenia/following{/other_user}","gists_url":"https://api.github.com/users/sazzadNascenia/gists{/gist_id}","starred_url":"https://api.github.com/users/sazzadNascenia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sazzadNascenia/subscriptions","organizations_url":"https://api.github.com/users/sazzadNascenia/orgs","repos_url":"https://api.github.com/users/sazzadNascenia/repos","events_url":"https://api.github.com/users/sazzadNascenia/events{/privacy}","received_events_url":"https://api.github.com/users/sazzadNascenia/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T11:35:24Z","updated_at":"2015-01-26T11:35:24Z","body":"Did You people find any solution of this problem ?"}}