ファイルI私のルート: resources :users do
resources :posts, shallow: true do
resources :comments, shallow: true
end
end
さて、インデックスのコメントのためのルートは以下のように思える: -今 "https://stackoverflow.com/users/:us
私は、Rails 4.2プロジェクトでforkを使用するRakeタスクを持っています。私はフォークと自動的に接続を閉じるにはActiveRecordを疑わまず PG::ConnectionBad: PQconsumeInput() server closed the connection unexpectedly
:私の問題は、私は再びデータベースにアクセスしようとしたとき、私は、次のPost
私は、デプロイスクリプトを実行すると、私はエラーを抱えている: [cb123fad] rbenv: version `2.2.3' is not installed (set by RBENV_VERSION environment variable)
DEBUG [cb123fad]
(Backtrace restricted to imported tasks)
cap aborted!