The Depot Application

8.1 Sessions 7.3 Iteration B3: Use a Helper to Format the Price

7.4 Iteration B4: Linking to the Cart

Expected at least 1 element matching "input[type='submit'][value='Add to Cart']", found 0.

Traceback:
  /home/rubys/git/awdwr/edition3/work-187-23/vendor/rails/actionpack/lib/action_controller/assertions/selector_assertions.rb:307:in `assert_select'
  /home/rubys/git/awdwr/edition3/checkdepot.rb:103
edit app/views/store/index.html.erb
    <%= button_to 'Add to Cart' %>
edit public/stylesheets/depot.css
#store .entry form, #store .entry form div {
  display: inline;
}
get /store

ActiveRecord::StatementInvalid in StoreController#index

SQLite3::SQLException: no such table: products: SELECT * FROM "products"  ORDER BY title

RAILS_ROOT: /home/rubys/git/awdwr/edition3/work-187-23/depot

Application Trace | Framework Trace | Full Trace

Request

Parameters:

None

Show session dump

Response

Headers:

{"Content-Type"=>"",
 "Cache-Control"=>"no-cache"}

8.1 Sessions 7.3 Iteration B3: Use a Helper to Format the Price