{"action":"created","issue":{"url":"https://api.github.com/repos/Hiroto-K/hk_sub_/issues/5","labels_url":"https://api.github.com/repos/Hiroto-K/hk_sub_/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/Hiroto-K/hk_sub_/issues/5/comments","events_url":"https://api.github.com/repos/Hiroto-K/hk_sub_/issues/5/events","html_url":"https://github.com/Hiroto-K/hk_sub_/issues/5","id":124803999,"number":5,"title":"データベースでActiveRecordを使う","user":{"login":"Hiroto-K","id":12016555,"avatar_url":"https://avatars.githubusercontent.com/u/12016555?v=3","gravatar_id":"","url":"https://api.github.com/users/Hiroto-K","html_url":"https://github.com/Hiroto-K","followers_url":"https://api.github.com/users/Hiroto-K/followers","following_url":"https://api.github.com/users/Hiroto-K/following{/other_user}","gists_url":"https://api.github.com/users/Hiroto-K/gists{/gist_id}","starred_url":"https://api.github.com/users/Hiroto-K/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hiroto-K/subscriptions","organizations_url":"https://api.github.com/users/Hiroto-K/orgs","repos_url":"https://api.github.com/users/Hiroto-K/repos","events_url":"https://api.github.com/users/Hiroto-K/events{/privacy}","received_events_url":"https://api.github.com/users/Hiroto-K/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Hiroto-K/hk_sub_/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-04T17:37:48Z","updated_at":"2016-01-07T20:02:45Z","closed_at":null,"body":"データベースでActiveRecordを使うようにする。\r\n\r\nメリット\r\n- SQLite3以外でも一つのコードで動かせる\r\n- クエリを自分で書かないで済む\r\n- 設定の分離が容易(local/productionでの使い分け)\r\n\r\nデメリット\r\n- 命令規則が面倒(RailsのModelと同じ)\r\n- コードの書き直しが必要"},"comment":{"url":"https://api.github.com/repos/Hiroto-K/hk_sub_/issues/comments/169790379","html_url":"https://github.com/Hiroto-K/hk_sub_/issues/5#issuecomment-169790379","issue_url":"https://api.github.com/repos/Hiroto-K/hk_sub_/issues/5","id":169790379,"user":{"login":"Hiroto-K","id":12016555,"avatar_url":"https://avatars.githubusercontent.com/u/12016555?v=3","gravatar_id":"","url":"https://api.github.com/users/Hiroto-K","html_url":"https://github.com/Hiroto-K","followers_url":"https://api.github.com/users/Hiroto-K/followers","following_url":"https://api.github.com/users/Hiroto-K/following{/other_user}","gists_url":"https://api.github.com/users/Hiroto-K/gists{/gist_id}","starred_url":"https://api.github.com/users/Hiroto-K/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hiroto-K/subscriptions","organizations_url":"https://api.github.com/users/Hiroto-K/orgs","repos_url":"https://api.github.com/users/Hiroto-K/repos","events_url":"https://api.github.com/users/Hiroto-K/events{/privacy}","received_events_url":"https://api.github.com/users/Hiroto-K/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T20:02:45Z","updated_at":"2016-01-07T20:02:45Z","body":"基本的な実装はAnime-pushの実装と同じ。\nサポートはSQLite3のみでconfig.ymlに書いて別途アダプタを読み込めば他でも使えるようにする"}}