Skip to content

Scaffolding updates #68

Description

@hannahekehoe

In the Rails Basics section under Step 3 — Scaffolding the Application, the app/views/books/index.html.erb code block is out of date. Running the dip rails generate scaffold command currently creates an index.html.erb file with the following code:

<p style="color: green"><%= notice %></p>

<h1>Books</h1>

<div id="books">
  <% @books.each do |book| %>
    <%= render book %>
    <p>
      <%= link_to "Show this book", book %>
    </p>
  <% end %>
</div>

<%= link_to "New book", new_book_path %>

This changes the browser output, requiring an update of application page screenshots seen under Step 4 — Creating the Application Root View and Testing Functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions