{"action":"created","issue":{"url":"https://api.github.com/repos/voormedia/rails-erd/issues/157","labels_url":"https://api.github.com/repos/voormedia/rails-erd/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/voormedia/rails-erd/issues/157/comments","events_url":"https://api.github.com/repos/voormedia/rails-erd/issues/157/events","html_url":"https://github.com/voormedia/rails-erd/pull/157","id":95661749,"number":157,"title":"The only and exclude options weren't working for me...","user":{"login":"ar3","id":896408,"avatar_url":"https://avatars.githubusercontent.com/u/896408?v=3","gravatar_id":"","url":"https://api.github.com/users/ar3","html_url":"https://github.com/ar3","followers_url":"https://api.github.com/users/ar3/followers","following_url":"https://api.github.com/users/ar3/following{/other_user}","gists_url":"https://api.github.com/users/ar3/gists{/gist_id}","starred_url":"https://api.github.com/users/ar3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ar3/subscriptions","organizations_url":"https://api.github.com/users/ar3/orgs","repos_url":"https://api.github.com/users/ar3/repos","events_url":"https://api.github.com/users/ar3/events{/privacy}","received_events_url":"https://api.github.com/users/ar3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-17T14:01:33Z","updated_at":"2015-07-26T14:34:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/voormedia/rails-erd/pulls/157","html_url":"https://github.com/voormedia/rails-erd/pull/157","diff_url":"https://github.com/voormedia/rails-erd/pull/157.diff","patch_url":"https://github.com/voormedia/rails-erd/pull/157.patch"},"body":"I am in a ruby '2.2.1' and a 'rails', '4.2.1' environment, and I tried to run a simple ERD with the only option. With a single entity it worked, but with multiple it did not.\r\n\r\n\r\nbundle exec rake erd only='User' (worked)\r\nbundle exec rake erd only='User,Address' (resulting in \"No entities found; create your models first!\")\r\n\r\nSo, I found that at least in my environment the options are string and not symbols as expected based on the tests. So I added a new test, passed in strings, and made the code handle both scenarios.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/voormedia/rails-erd/issues/comments/124997701","html_url":"https://github.com/voormedia/rails-erd/pull/157#issuecomment-124997701","issue_url":"https://api.github.com/repos/voormedia/rails-erd/issues/157","id":124997701,"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-07-26T14:34:31Z","updated_at":"2015-07-26T14:34:31Z","body":":+1: \r\n\r\nLooks good here. I'll merge into the next point release"}}