{"comment":{"url":"https://api.github.com/repos/rosalind210/Whack/comments/13578205","html_url":"https://github.com/rosalind210/Whack/commit/786f21ed2f1fa04ccd84e5eeefb5a593c1878a1e#commitcomment-13578205","id":13578205,"user":{"login":"scottstanie","id":8291800,"avatar_url":"https://avatars.githubusercontent.com/u/8291800?v=3","gravatar_id":"","url":"https://api.github.com/users/scottstanie","html_url":"https://github.com/scottstanie","followers_url":"https://api.github.com/users/scottstanie/followers","following_url":"https://api.github.com/users/scottstanie/following{/other_user}","gists_url":"https://api.github.com/users/scottstanie/gists{/gist_id}","starred_url":"https://api.github.com/users/scottstanie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottstanie/subscriptions","organizations_url":"https://api.github.com/users/scottstanie/orgs","repos_url":"https://api.github.com/users/scottstanie/repos","events_url":"https://api.github.com/users/scottstanie/events{/privacy}","received_events_url":"https://api.github.com/users/scottstanie/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"786f21ed2f1fa04ccd84e5eeefb5a593c1878a1e","created_at":"2015-10-04T01:35:48Z","updated_at":"2015-10-04T01:35:48Z","body":"https://www.percona.com/files/presentations/percona-live/london-2011/PLUK2011-coding-a-mysql-access-layer-using-ruby-amp-sinatra.pdf\r\nI used that\r\nYou should be able to do updates the same way-\r\n```\r\n@@mysqlclient.query(\"UPDATE history SET sleep=8 WHERE day=CURDATE() AND username='scott'\")\r\n```"}}