{"action":"created","issue":{"url":"https://api.github.com/repos/rom-rb/rom-rb.org/issues/93","labels_url":"https://api.github.com/repos/rom-rb/rom-rb.org/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/rom-rb/rom-rb.org/issues/93/comments","events_url":"https://api.github.com/repos/rom-rb/rom-rb.org/issues/93/events","html_url":"https://github.com/rom-rb/rom-rb.org/pull/93","id":102670038,"number":93,"title":"Fix command example in Mappers Guide","user":{"login":"jaredbeck","id":380809,"avatar_url":"https://avatars.githubusercontent.com/u/380809?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredbeck","html_url":"https://github.com/jaredbeck","followers_url":"https://api.github.com/users/jaredbeck/followers","following_url":"https://api.github.com/users/jaredbeck/following{/other_user}","gists_url":"https://api.github.com/users/jaredbeck/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredbeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredbeck/subscriptions","organizations_url":"https://api.github.com/users/jaredbeck/orgs","repos_url":"https://api.github.com/users/jaredbeck/repos","events_url":"https://api.github.com/users/jaredbeck/events{/privacy}","received_events_url":"https://api.github.com/users/jaredbeck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-23T23:15:19Z","updated_at":"2015-08-23T23:38:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rom-rb/rom-rb.org/pulls/93","html_url":"https://github.com/rom-rb/rom-rb.org/pull/93","diff_url":"https://github.com/rom-rb/rom-rb.org/pull/93.diff","patch_url":"https://github.com/rom-rb/rom-rb.org/pull/93.patch"},"body":"The chain order seems to matter.\r\n\r\n    # This works\r\n    ROM.env.command(:users).as(:user).create.call\r\n\r\n    # This raises ROM::MapperMissingError\r\n    ROM.env.command(:users).create.as(:user).call\r\n\r\nMaybe this is a regression that can be fixed, but in the meantime\r\nthe examples in the documentation should be updated."},"comment":{"url":"https://api.github.com/repos/rom-rb/rom-rb.org/issues/comments/133959526","html_url":"https://github.com/rom-rb/rom-rb.org/pull/93#issuecomment-133959526","issue_url":"https://api.github.com/repos/rom-rb/rom-rb.org/issues/93","id":133959526,"user":{"login":"jaredbeck","id":380809,"avatar_url":"https://avatars.githubusercontent.com/u/380809?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredbeck","html_url":"https://github.com/jaredbeck","followers_url":"https://api.github.com/users/jaredbeck/followers","following_url":"https://api.github.com/users/jaredbeck/following{/other_user}","gists_url":"https://api.github.com/users/jaredbeck/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredbeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredbeck/subscriptions","organizations_url":"https://api.github.com/users/jaredbeck/orgs","repos_url":"https://api.github.com/users/jaredbeck/repos","events_url":"https://api.github.com/users/jaredbeck/events{/privacy}","received_events_url":"https://api.github.com/users/jaredbeck/received_events","type":"User","site_admin":false},"created_at":"2015-08-23T23:38:00Z","updated_at":"2015-08-23T23:38:00Z","body":"> Did you use memory adapter?\r\n\r\nNo, `sql` adapter. I'm using postgres."}}