{"action":"opened","number":344,"pull_request":{"state":"open","created_at":"2011-11-22T03:25:41Z","review_comments":0,"updated_at":"2011-11-22T03:25:41Z","patch_url":"https://github.com/Vizzuality/cartodb/pull/344.patch","changed_files":1,"_links":{"review_comments":{"href":"https://api.github.com/repos/Vizzuality/cartodb/pulls/344/comments"},"comments":{"href":"https://api.github.com/repos/Vizzuality/cartodb/issues/344/comments"},"html":{"href":"https://github.com/Vizzuality/cartodb/pull/344"},"self":{"href":"https://api.github.com/repos/Vizzuality/cartodb/pulls/344"}},"comments":0,"user":{"gravatar_id":"adf45959890c5de375f36e638dd159b9","id":462255,"url":"https://api.github.com/users/eightysteele","login":"eightysteele","avatar_url":"https://secure.gravatar.com/avatar/adf45959890c5de375f36e638dd159b9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"issue_url":"https://github.com/Vizzuality/cartodb/issues/344","merged":false,"deletions":0,"body":"Before this change, when running CartoDB in production mode (e.g., RAILS_ENV=production), if you tried executing a `bundle exec rake` command, it would fail with:\r\n\r\n```\r\n[sequel] Setting up the \"production\" environment:\r\nrake aborted!\r\ncan't convert nil into Hash\r\n```\r\n\r\nBasically this was happening because database.yml was missing the `production` section.","commits":1,"mergeable":null,"id":517277,"base":{"repo":{"pushed_at":"2011-11-21T23:42:27Z","created_at":"2011-01-12T15:25:41Z","clone_url":"https://github.com/Vizzuality/cartodb.git","private":false,"updated_at":"2011-11-21T23:42:27Z","name":"cartodb","svn_url":"https://svn.github.com/Vizzuality/cartodb","watchers":25,"master_branch":null,"language":"JavaScript","forks":6,"owner":{"gravatar_id":"22e746fc7f5b166933ad8ee3e5909ae0","id":305994,"url":"https://api.github.com/users/Vizzuality","login":"Vizzuality","avatar_url":"https://secure.gravatar.com/avatar/22e746fc7f5b166933ad8ee3e5909ae0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png"},"id":1246024,"homepage":"www.cartodb.com","description":"Geospatial database for the cloud","git_url":"git://github.com/Vizzuality/cartodb.git","html_url":"https://github.com/Vizzuality/cartodb","open_issues":63,"url":"https://api.github.com/repos/Vizzuality/cartodb","size":228,"fork":false,"ssh_url":"git@github.com:Vizzuality/cartodb.git"},"user":{"gravatar_id":"22e746fc7f5b166933ad8ee3e5909ae0","id":305994,"url":"https://api.github.com/users/Vizzuality","login":"Vizzuality","avatar_url":"https://secure.gravatar.com/avatar/22e746fc7f5b166933ad8ee3e5909ae0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png"},"sha":"851956c87ffe60fc928c6b6f4cb995204ae95cd8","ref":"master","label":"Vizzuality:master"},"additions":9,"merged_by":null,"number":344,"title":"Add production section to database.yml.sample file.","head":{"repo":{"pushed_at":"2011-11-22T03:25:26Z","created_at":"2011-11-15T04:28:39Z","clone_url":"https://github.com/eightysteele/cartodb.git","private":false,"updated_at":"2011-11-22T03:25:38Z","name":"cartodb","svn_url":"https://svn.github.com/eightysteele/cartodb","watchers":1,"master_branch":null,"language":"JavaScript","forks":0,"owner":{"gravatar_id":"adf45959890c5de375f36e638dd159b9","id":462255,"url":"https://api.github.com/users/eightysteele","login":"eightysteele","avatar_url":"https://secure.gravatar.com/avatar/adf45959890c5de375f36e638dd159b9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":2777637,"homepage":"www.cartodb.com","description":"Geospatial database for the cloud","git_url":"git://github.com/eightysteele/cartodb.git","html_url":"https://github.com/eightysteele/cartodb","open_issues":0,"url":"https://api.github.com/repos/eightysteele/cartodb","size":116,"fork":true,"ssh_url":"git@github.com:eightysteele/cartodb.git"},"user":{"gravatar_id":"adf45959890c5de375f36e638dd159b9","id":462255,"url":"https://api.github.com/users/eightysteele","login":"eightysteele","avatar_url":"https://secure.gravatar.com/avatar/adf45959890c5de375f36e638dd159b9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"sha":"b3122d83ac059755b1166413e685dccb0deb2515","ref":"patch-3","label":"eightysteele:patch-3"},"html_url":"https://github.com/Vizzuality/cartodb/pull/344","closed_at":null,"url":"https://api.github.com/repos/Vizzuality/cartodb/pulls/344","diff_url":"https://github.com/Vizzuality/cartodb/pull/344.diff","merged_at":null}}