Error in doc for intro guide


In the intro guide at ‘’ while implementing the ‘Edit’ function the example code is:

<%= link_to 'Show', post_path %>

but should be:

<%= link_to 'Show', post_path(post) %>

not to get an error message about missing :id in routes.

Other than that, thanks for a great guide!


These are fixed in 4-0-stable, the fixed guide will be published with the release of 4.0.1.

Thanks for the feedback!