{"action":"created","issue":{"url":"https://api.github.com/repos/stephskardal/rails_admin_import/issues/41","labels_url":"https://api.github.com/repos/stephskardal/rails_admin_import/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/stephskardal/rails_admin_import/issues/41/comments","events_url":"https://api.github.com/repos/stephskardal/rails_admin_import/issues/41/events","html_url":"https://github.com/stephskardal/rails_admin_import/pull/41","id":100129712,"number":41,"title":"Allow records to be updated by an association field","user":{"login":"dcrec1","id":13742,"avatar_url":"https://avatars.githubusercontent.com/u/13742?v=3","gravatar_id":"","url":"https://api.github.com/users/dcrec1","html_url":"https://github.com/dcrec1","followers_url":"https://api.github.com/users/dcrec1/followers","following_url":"https://api.github.com/users/dcrec1/following{/other_user}","gists_url":"https://api.github.com/users/dcrec1/gists{/gist_id}","starred_url":"https://api.github.com/users/dcrec1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcrec1/subscriptions","organizations_url":"https://api.github.com/users/dcrec1/orgs","repos_url":"https://api.github.com/users/dcrec1/repos","events_url":"https://api.github.com/users/dcrec1/events{/privacy}","received_events_url":"https://api.github.com/users/dcrec1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"monkbroc","id":1919681,"avatar_url":"https://avatars.githubusercontent.com/u/1919681?v=3","gravatar_id":"","url":"https://api.github.com/users/monkbroc","html_url":"https://github.com/monkbroc","followers_url":"https://api.github.com/users/monkbroc/followers","following_url":"https://api.github.com/users/monkbroc/following{/other_user}","gists_url":"https://api.github.com/users/monkbroc/gists{/gist_id}","starred_url":"https://api.github.com/users/monkbroc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monkbroc/subscriptions","organizations_url":"https://api.github.com/users/monkbroc/orgs","repos_url":"https://api.github.com/users/monkbroc/repos","events_url":"https://api.github.com/users/monkbroc/events{/privacy}","received_events_url":"https://api.github.com/users/monkbroc/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-08-10T17:55:11Z","updated_at":"2015-08-21T19:41:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/stephskardal/rails_admin_import/pulls/41","html_url":"https://github.com/stephskardal/rails_admin_import/pull/41","diff_url":"https://github.com/stephskardal/rails_admin_import/pull/41.diff","patch_url":"https://github.com/stephskardal/rails_admin_import/pull/41.patch"},"body":"It would be cool if we could update a record by an association field, `user_id` in a `Post` entity for example. Do you think this changes are valid?"},"comment":{"url":"https://api.github.com/repos/stephskardal/rails_admin_import/issues/comments/133539856","html_url":"https://github.com/stephskardal/rails_admin_import/pull/41#issuecomment-133539856","issue_url":"https://api.github.com/repos/stephskardal/rails_admin_import/issues/41","id":133539856,"user":{"login":"monkbroc","id":1919681,"avatar_url":"https://avatars.githubusercontent.com/u/1919681?v=3","gravatar_id":"","url":"https://api.github.com/users/monkbroc","html_url":"https://github.com/monkbroc","followers_url":"https://api.github.com/users/monkbroc/followers","following_url":"https://api.github.com/users/monkbroc/following{/other_user}","gists_url":"https://api.github.com/users/monkbroc/gists{/gist_id}","starred_url":"https://api.github.com/users/monkbroc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monkbroc/subscriptions","organizations_url":"https://api.github.com/users/monkbroc/orgs","repos_url":"https://api.github.com/users/monkbroc/repos","events_url":"https://api.github.com/users/monkbroc/events{/privacy}","received_events_url":"https://api.github.com/users/monkbroc/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T19:41:19Z","updated_at":"2015-08-21T19:41:19Z","body":"I'm struggling to understand what this change is trying to accomplish.\r\n\r\nThe title says \"allow records to be updated by association field\", but the test simply creates records.\r\n\r\nWhat's an example of updating by association field?\r\n\r\nIn the dummy app http://localhost:3000/admin/child/import the parent association now shows up twice, one as \"Parent id\" and the other as \"Parent\". Is this by design in the change, or a side effect?"}}