{"action":"created","issue":{"url":"https://api.github.com/repos/dockyard/postgres_ext-serializers/issues/28","labels_url":"https://api.github.com/repos/dockyard/postgres_ext-serializers/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/dockyard/postgres_ext-serializers/issues/28/comments","events_url":"https://api.github.com/repos/dockyard/postgres_ext-serializers/issues/28/events","html_url":"https://github.com/dockyard/postgres_ext-serializers/pull/28","id":66843668,"number":28,"title":"Root false option","user":{"login":"BenMorganIO","id":3117356,"avatar_url":"https://avatars.githubusercontent.com/u/3117356?v=3","gravatar_id":"","url":"https://api.github.com/users/BenMorganIO","html_url":"https://github.com/BenMorganIO","followers_url":"https://api.github.com/users/BenMorganIO/followers","following_url":"https://api.github.com/users/BenMorganIO/following{/other_user}","gists_url":"https://api.github.com/users/BenMorganIO/gists{/gist_id}","starred_url":"https://api.github.com/users/BenMorganIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenMorganIO/subscriptions","organizations_url":"https://api.github.com/users/BenMorganIO/orgs","repos_url":"https://api.github.com/users/BenMorganIO/repos","events_url":"https://api.github.com/users/BenMorganIO/events{/privacy}","received_events_url":"https://api.github.com/users/BenMorganIO/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-07T10:01:31Z","updated_at":"2015-04-07T10:42:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dockyard/postgres_ext-serializers/pulls/28","html_url":"https://github.com/dockyard/postgres_ext-serializers/pull/28","diff_url":"https://github.com/dockyard/postgres_ext-serializers/pull/28.diff","patch_url":"https://github.com/dockyard/postgres_ext-serializers/pull/28.patch"},"body":"This PR adds the functionality to set root to false. The only problem is that it constrains to just having a root key and needs more work."},"comment":{"url":"https://api.github.com/repos/dockyard/postgres_ext-serializers/issues/comments/90503571","html_url":"https://github.com/dockyard/postgres_ext-serializers/pull/28#issuecomment-90503571","issue_url":"https://api.github.com/repos/dockyard/postgres_ext-serializers/issues/28","id":90503571,"user":{"login":"danmcclain","id":144138,"avatar_url":"https://avatars.githubusercontent.com/u/144138?v=3","gravatar_id":"","url":"https://api.github.com/users/danmcclain","html_url":"https://github.com/danmcclain","followers_url":"https://api.github.com/users/danmcclain/followers","following_url":"https://api.github.com/users/danmcclain/following{/other_user}","gists_url":"https://api.github.com/users/danmcclain/gists{/gist_id}","starred_url":"https://api.github.com/users/danmcclain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danmcclain/subscriptions","organizations_url":"https://api.github.com/users/danmcclain/orgs","repos_url":"https://api.github.com/users/danmcclain/repos","events_url":"https://api.github.com/users/danmcclain/events{/privacy}","received_events_url":"https://api.github.com/users/danmcclain/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T10:42:29Z","updated_at":"2015-04-07T10:42:29Z","body":"@benmorganio here is where the table name is determined: https://github.com/dockyard/postgres_ext-serializers/blob/master/lib/postgres_ext/serializers/active_model/array_serializer.rb#L119. I'd like the solution for setting/removing the table name to happen in the SQL side to avoid parsing the json on the ruby side"}}