{"issue":{"created_at":"2011-12-14T15:32:31Z","state":"closed","updated_at":"2011-12-14T19:28:49Z","user":{"gravatar_id":"33f610baeb1439e6dd51d8978e88563e","id":704176,"url":"https://api.github.com/users/kalw","login":"kalw","avatar_url":"https://secure.gravatar.com/avatar/33f610baeb1439e6dd51d8978e88563e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":2,"body":"here is a living example =)","assignee":null,"id":2552823,"number":6,"pull_request":{"patch_url":"https://github.com/technoweenie/guillotine/pull/6.patch","html_url":"https://github.com/technoweenie/guillotine/pull/6","diff_url":"https://github.com/technoweenie/guillotine/pull/6.diff"},"labels":[],"title":"added mysql sequel example","html_url":"https://github.com/technoweenie/guillotine/issues/6","closed_at":"2011-12-14T18:46:22Z","url":"https://api.github.com/repos/technoweenie/guillotine/issues/6","milestone":null},"action":"created","comment":{"created_at":"2011-12-14T19:28:49Z","updated_at":"2011-12-14T19:28:49Z","user":{"gravatar_id":"33f610baeb1439e6dd51d8978e88563e","id":704176,"url":"https://api.github.com/users/kalw","login":"kalw","avatar_url":"https://secure.gravatar.com/avatar/33f610baeb1439e6dd51d8978e88563e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"OK.\r\nFor the record that' s just a dump from the (my)sql that the sequel setup did.\r\n\r\n```\r\nirb\r\n1.9.3p0 :001 > require 'guillotine' => true \r\n1.9.3p0 :002 > require 'sequel' => true \r\n1.9.3p0 :003 > db = Guillotine::Adapters::SequelAdapter.new(Sequel.connect('mysql://user:passwd@myhost/mydb'))\r\n => #<Guillotine::Adapters::SequelAdapter:0x007fa1f1c884e0 @db=#<Sequel::MySQL::Database: \"mysql://root@localhost/shorten_test\">, @table=#<Sequel::MySQL::Dataset: \"SELECT * FROM `urls`\">> \r\n1.9.3p0 :004 > db.setup => nil \r\n```\r\n","id":3146750,"url":"https://api.github.com/repos/technoweenie/guillotine/issues/comments/3146750"}}