{"action":"created","issue":{"url":"https://api.github.com/repos/voormedia/rails-erd/issues/85","labels_url":"https://api.github.com/repos/voormedia/rails-erd/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/voormedia/rails-erd/issues/85/comments","events_url":"https://api.github.com/repos/voormedia/rails-erd/issues/85/events","html_url":"https://github.com/voormedia/rails-erd/issues/85","id":45491647,"number":85,"title":"NoMethodError: undefined method `primary' for #<ActiveRecord::ConnectionAdapters::Column:0x0000000794a910>","user":{"login":"LimeBlast","id":219206,"avatar_url":"https://avatars.githubusercontent.com/u/219206?v=3","gravatar_id":"","url":"https://api.github.com/users/LimeBlast","html_url":"https://github.com/LimeBlast","followers_url":"https://api.github.com/users/LimeBlast/followers","following_url":"https://api.github.com/users/LimeBlast/following{/other_user}","gists_url":"https://api.github.com/users/LimeBlast/gists{/gist_id}","starred_url":"https://api.github.com/users/LimeBlast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LimeBlast/subscriptions","organizations_url":"https://api.github.com/users/LimeBlast/orgs","repos_url":"https://api.github.com/users/LimeBlast/repos","events_url":"https://api.github.com/users/LimeBlast/events{/privacy}","received_events_url":"https://api.github.com/users/LimeBlast/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/voormedia/rails-erd/labels/Rails4","name":"Rails4","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2014-10-10T15:19:19Z","updated_at":"2015-02-12T18:42:07Z","closed_at":"2015-02-12T18:42:07Z","body":"I've just updated Rails from 4.1.0 to 4.2.0.beta2, and now the ERD generator isn't working any longer. I get the following error:\r\n\r\n    Failed: NoMethodError: undefined method `primary' for #<ActiveRecord::ConnectionAdapters::Column:0x00000007b842f8>"},"comment":{"url":"https://api.github.com/repos/voormedia/rails-erd/issues/comments/74126770","html_url":"https://github.com/voormedia/rails-erd/issues/85#issuecomment-74126770","issue_url":"https://api.github.com/repos/voormedia/rails-erd/issues/85","id":74126770,"user":{"login":"kerrizor","id":257689,"avatar_url":"https://avatars.githubusercontent.com/u/257689?v=3","gravatar_id":"","url":"https://api.github.com/users/kerrizor","html_url":"https://github.com/kerrizor","followers_url":"https://api.github.com/users/kerrizor/followers","following_url":"https://api.github.com/users/kerrizor/following{/other_user}","gists_url":"https://api.github.com/users/kerrizor/gists{/gist_id}","starred_url":"https://api.github.com/users/kerrizor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kerrizor/subscriptions","organizations_url":"https://api.github.com/users/kerrizor/orgs","repos_url":"https://api.github.com/users/kerrizor/repos","events_url":"https://api.github.com/users/kerrizor/events{/privacy}","received_events_url":"https://api.github.com/users/kerrizor/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T18:42:07Z","updated_at":"2015-02-12T18:42:07Z","body":"Thanks to @a2ikm in #120 we now have Rails 4.x support. Thank you for the heavy lifting!"}}