私はプロジェクトへのリンク方法を使用しています。コードの下には必要なキーがありません:[:id] rails 4
project = Project.new
project.id = value["id"]
project.name = value["project_name"]
<td width="20%" class="left"><%= link_to_project(project) %></td>
ERROR
No route matches {:action=>"show", :controller=>"projects", :id=>#<Project id: 2343, name: " TESTING", description: nil, homepage: "", is_public: false, parent_id: nil, created_on: nil, updated_on: nil, identifier: nil, status: 1, lft: nil, rgt: nil, inherit_members: false, product_backlog_id: nil, default_version_id: nil>} missing required keys: [:id]
私は働いていない、このエラーを得たのがあります。私はこれを解決する方法を知らない。しかし、レール3.2は正常に動作します。
その解決策はありますか? – Vikiesakki