{"action":"created","issue":{"url":"https://api.github.com/repos/publiclab/plots2/issues/498","repository_url":"https://api.github.com/repos/publiclab/plots2","labels_url":"https://api.github.com/repos/publiclab/plots2/issues/498/labels{/name}","comments_url":"https://api.github.com/repos/publiclab/plots2/issues/498/comments","events_url":"https://api.github.com/repos/publiclab/plots2/issues/498/events","html_url":"https://github.com/publiclab/plots2/pull/498","id":148892156,"number":498,"title":"added add_like function to users and wrote corresponding rspec tests","user":{"login":"franktank","id":10643106,"avatar_url":"https://avatars.githubusercontent.com/u/10643106?v=3","gravatar_id":"","url":"https://api.github.com/users/franktank","html_url":"https://github.com/franktank","followers_url":"https://api.github.com/users/franktank/followers","following_url":"https://api.github.com/users/franktank/following{/other_user}","gists_url":"https://api.github.com/users/franktank/gists{/gist_id}","starred_url":"https://api.github.com/users/franktank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franktank/subscriptions","organizations_url":"https://api.github.com/users/franktank/orgs","repos_url":"https://api.github.com/users/franktank/repos","events_url":"https://api.github.com/users/franktank/events{/privacy}","received_events_url":"https://api.github.com/users/franktank/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2016-04-16T21:01:14Z","updated_at":"2016-05-02T17:33:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/publiclab/plots2/pulls/498","html_url":"https://github.com/publiclab/plots2/pull/498","diff_url":"https://github.com/publiclab/plots2/pull/498.diff","patch_url":"https://github.com/publiclab/plots2/pull/498.patch"},"body":"* [x] tests pass -- `rake test`\r\n* [x] code is in uniquely-named feature branch, and has been rebased on top of latest master (especially if you've been asked to make additional changes)\r\n* [x] pull request are descriptively named\r\n* [x] if possible, multiple commits squashed if they're smaller changes\r\n* [ ] reviewed/confirmed/tested by another contributor or maintainer\r\n* [x] `development.sqlite.example` has been updated if any database migrations were added\r\n\r\n\r\nAdded add_like to DrupalUsers."},"comment":{"url":"https://api.github.com/repos/publiclab/plots2/issues/comments/216304162","html_url":"https://github.com/publiclab/plots2/pull/498#issuecomment-216304162","issue_url":"https://api.github.com/repos/publiclab/plots2/issues/498","id":216304162,"user":{"login":"jywarren","id":24359,"avatar_url":"https://avatars.githubusercontent.com/u/24359?v=3","gravatar_id":"","url":"https://api.github.com/users/jywarren","html_url":"https://github.com/jywarren","followers_url":"https://api.github.com/users/jywarren/followers","following_url":"https://api.github.com/users/jywarren/following{/other_user}","gists_url":"https://api.github.com/users/jywarren/gists{/gist_id}","starred_url":"https://api.github.com/users/jywarren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jywarren/subscriptions","organizations_url":"https://api.github.com/users/jywarren/orgs","repos_url":"https://api.github.com/users/jywarren/repos","events_url":"https://api.github.com/users/jywarren/events{/privacy}","received_events_url":"https://api.github.com/users/jywarren/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T17:33:43Z","updated_at":"2016-05-02T17:33:43Z","body":"That's so weird, because rusers should definitely not create a User. `id`\nis being auto-generated because it's a default primary key in Rails. Hmm...\n\nOn Mon, May 2, 2016 at 1:32 PM, Franky Liang <notifications@github.com>\nwrote:\n\n> Just tried it, no luck.\n>\n> SQLite3::SQLException: table users has no column named id: INSERT INTO\n> \"users\" (\"uid\", \"name\", \"status\", \"mail\", \"id\") VALUES (1, 'Bob', 1, '\n> bob@publiclab.org', 902541635)\n>\n> Not sure where the 902541635 comes from.\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/publiclab/plots2/pull/498#issuecomment-216303843>\n>\n"}}