{"comment":{"created_at":"2011-10-13T23:09:58Z","body":"config.sample.yml を使わなくても，development envの時にconfig.yml, ENV['DATABASE_URL']が存在しなければ`sqlite://<%= root %>/db/development.sqlite3` みたいなのを使うようにする変更もアリかもですね","updated_at":"2011-10-13T23:09:58Z","url":"https://api.github.com/repos/komagata/lokka/issues/comments/2401407","id":2401407,"user":{"avatar_url":"https://secure.gravatar.com/avatar/626ca235e8dab778c5bad6fc10e94ad8?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"626ca235e8dab778c5bad6fc10e94ad8","url":"https://api.github.com/users/sorah","id":29440,"login":"sorah"}},"action":"created","issue":{"number":92,"created_at":"2011-10-13T23:04:14Z","pull_request":{"diff_url":"https://github.com/komagata/lokka/pull/92.diff","patch_url":"https://github.com/komagata/lokka/pull/92.patch","html_url":"https://github.com/komagata/lokka/pull/92"},"body":"use config.sample.yml instead of config.yml\r\n\r\n単純に開発時に不便なので，DATABASE_URL is not set かつ config.yml is not exist の時には config.sample.yml を利用するようにした変更です．\r\n\r\nもしダメならdevelopment env のときのみ，という条件をつけてみてもよいと思うのですが．","comments":1,"title":"Use config.sample.yml if not config.yml exist","updated_at":"2011-10-13T23:09:58Z","url":"https://api.github.com/repos/komagata/lokka/issues/92","id":1906064,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/626ca235e8dab778c5bad6fc10e94ad8?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"626ca235e8dab778c5bad6fc10e94ad8","url":"https://api.github.com/users/sorah","id":29440,"login":"sorah"},"html_url":"https://github.com/komagata/lokka/issues/92","labels":[],"state":"open"},"legacy":{"issue_id":1906064,"comment_id":2401407}}