<"Your Pragmatic Catalog"> expected but was <"NameError in\n Store#index">. Traceback: /home/rubys/git/awdwr/edition4/checkdepot.rb:491:in `block in <class:DepotTest>'
edit Gemfile
bundle install --local
Resolving dependencies...
Using rake (10.1.1)
Using abstract (1.0.0)
Using activesupport (3.0.20) from source at /home/rubys/git/rails
Using builder (2.1.2)
Using i18n (0.5.3)
Using activemodel (3.0.20) from source at /home/rubys/git/rails
Using erubis (2.6.6)
Using rack (1.2.8)
Using rack-mount (0.6.14)
Using rack-test (0.5.7)
Using tzinfo (0.3.38)
Using actionpack (3.0.20) from source at /home/rubys/git/rails
Using mime-types (1.25.1)
Using polyglot (0.3.3)
Using treetop (1.4.15)
Using mail (2.2.20)
Using actionmailer (3.0.20) from source at /home/rubys/git/rails
Using braintree (2.28.0)
Using activemerchant (1.10.0)
Using arel (2.0.10)
Using activerecord (3.0.20) from source at /home/rubys/git/rails
Using activeresource (3.0.20) from source at /home/rubys/git/rails
Using bundler (1.5.2)
Using highline (1.6.20)
Using net-ssh (2.8.0)
Using net-scp (1.1.2)
Using net-sftp (2.1.2)
Using net-ssh-gateway (1.2.0)
Using capistrano (2.15.5)
Using tilt (2.0.0)
Using haml (4.0.5)
Using json (1.8.1)
Using mysql (2.9.1)
Using rdoc (3.12.2)
Using thor (0.14.6)
Using railties (3.0.20) from source at /home/rubys/git/rails
Using rails (3.0.20) from source at /home/rubys/git/rails
Using rvm-capistrano (1.5.1)
Using sqlite3 (1.3.8)
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
rails runner "require 'haml'"
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
cat app/views/store/index.html.erb
<% if notice %>
<p id="notice"><%= notice %></p>
<% end %>
<h1><%= t('.title_html') %></h1>
<% @products.each do |product| %>
<div class="entry">
<%= image_tag(product.image_url) %>
<h3><%= product.title %></h3>
<%= sanitize(product.description) %>
<div class="price_line">
<span class="price"><%= number_to_currency(product.price) %></span>
<%= button_to t('.add_html'), line_items_path(product_id: product),
remote: true %>
</div>
</div>
<% end %>
rm app/views/store/index.html.erb
edit app/views/store/index.html.haml
- if notice
%p#notice= notice
%h1= t('.title_html')
- @products.each do |product|
.entry
= image_tag(product.image_url)
%h3= product.title
= sanitize(product.description)
.price_line
%span.price= number_to_currency(product.price)
= button_to t('.add_html'), line_items_path(product_id: product),
remote: true
get /
Showing /home/rubys/git/awdwr/edition4/work-192-30/depot/app/views/store/index.html.haml where line #4 raised:
uninitialized constant I18n::RESERVED_KEYS
Extracted source (around line #4):
1: - if notice
2: %p#notice= notice
3:
4: %h1= t('.title_html')
5: - @products.each do |product|
6: .entry
7: = image_tag(product.image_url)
Rails.root: /home/rubys/git/awdwr/edition4/work-192-30/depot
app/views/store/index.html.haml:4:in `_app_views_store_index_html_haml__2197319684930750909_69825500519240__1028450469849964564'
/home/rubys/git/rails/actionpack/lib/action_view/helpers/translation_helper.rb:50:in `translate'
/home/rubys/git/rails/actionpack/lib/action_view/template.rb:135:in `block in render'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:54:in `instrument'
/home/rubys/git/rails/actionpack/lib/action_view/template.rb:127:in `render'
/home/rubys/git/rails/actionpack/lib/action_view/render/rendering.rb:59:in `block in _render_template'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52:in `block in instrument'
/home/rubys/git/rails/activesupport/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52:in `instrument'
/home/rubys/git/rails/actionpack/lib/action_view/render/rendering.rb:56:in `_render_template'
/home/rubys/git/rails/actionpack/lib/action_view/render/rendering.rb:26:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:12:in `render_with_haml'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:115:in `_render_template'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:109:in `render_to_body'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/renderers.rb:47:in `render_to_body'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/compatibility.rb:55:in `render_to_body'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:102:in `render_to_string'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:93:in `render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/rendering.rb:17:in `render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
/home/rubys/git/rails/activesupport/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/home/rubys/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
/home/rubys/git/rails/activesupport/lib/active_support/core_ext/benchmark.rb:5:in `ms'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
/home/rubys/git/rails/activerecord/lib/active_record/railties/controller_runtime.rb:15:in `cleanup_view_runtime'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:39:in `render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
/home/rubys/git/rails/actionpack/lib/abstract_controller/base.rb:150:in `process_action'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/rendering.rb:11:in `process_action'
/home/rubys/git/rails/actionpack/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:446:in `_run__585163115342490735__process_action__3636799504163200069__callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:410:in `_run_process_action_callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:94:in `run_callbacks'
/home/rubys/git/rails/actionpack/lib/abstract_controller/callbacks.rb:17:in `process_action'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/rescue.rb:17:in `process_action'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52:in `block in instrument'
/home/rubys/git/rails/activesupport/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52:in `instrument'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/home/rubys/git/rails/actionpack/lib/abstract_controller/base.rb:119:in `process'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:41:in `process'
/home/rubys/git/rails/actionpack/lib/action_controller/metal.rb:138:in `dispatch'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/home/rubys/git/rails/actionpack/lib/action_controller/metal.rb:178:in `block in action'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:68:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:68:in `dispatch'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:33:in `call'
rack-mount (0.6.14) lib/rack/mount/route_set.rb:148:in `block in call'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:93:in `block in recognize'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:264:in `optimized_each'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:92:in `recognize'
rack-mount (0.6.14) lib/rack/mount/route_set.rb:139:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:499:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/head.rb:14:in `call'
rack (1.2.8) lib/rack/methodoverride.rb:24:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/flash.rb:182:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/cookies.rb:302:in `call'
/home/rubys/git/rails/activerecord/lib/active_record/query_cache.rb:32:in `block in call'
/home/rubys/git/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache'
/home/rubys/git/rails/activerecord/lib/active_record/query_cache.rb:12:in `cache'
/home/rubys/git/rails/activerecord/lib/active_record/query_cache.rb:31:in `call'
/home/rubys/git/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/callbacks.rb:46:in `block in call'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:416:in `_run_call_callbacks'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/callbacks.rb:44:in `call'
rack (1.2.8) lib/rack/sendfile.rb:106:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
/home/rubys/git/rails/railties/lib/rails/rack/logger.rb:13:in `call'
rack (1.2.8) lib/rack/runtime.rb:17:in `call'
/home/rubys/git/rails/activesupport/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.2.8) lib/rack/lock.rb:13:in `block in call'
<internal:prelude>:10:in `synchronize'
rack (1.2.8) lib/rack/lock.rb:13:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/static.rb:30:in `call'
/home/rubys/git/rails/railties/lib/rails/application.rb:168:in `call'
/home/rubys/git/rails/railties/lib/rails/application.rb:77:in `method_missing'
/home/rubys/git/rails/railties/lib/rails/rack/log_tailer.rb:14:in `call'
rack (1.2.8) lib/rack/content_length.rb:13:in `call'
rack (1.2.8) lib/rack/handler/webrick.rb:52:in `service'
/home/rubys/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/home/rubys/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/home/rubys/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
/home/rubys/git/rails/actionpack/lib/action_view/helpers/translation_helper.rb:50:in `translate'
app/views/store/index.html.haml:4:in `_app_views_store_index_html_haml__2197319684930750909_69825500519240__1028450469849964564'
/home/rubys/git/rails/actionpack/lib/action_view/template.rb:135:in `block in render'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:54:in `instrument'
/home/rubys/git/rails/actionpack/lib/action_view/template.rb:127:in `render'
/home/rubys/git/rails/actionpack/lib/action_view/render/rendering.rb:59:in `block in _render_template'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52:in `block in instrument'
/home/rubys/git/rails/activesupport/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52:in `instrument'
/home/rubys/git/rails/actionpack/lib/action_view/render/rendering.rb:56:in `_render_template'
/home/rubys/git/rails/actionpack/lib/action_view/render/rendering.rb:26:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:12:in `render_with_haml'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:115:in `_render_template'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:109:in `render_to_body'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/renderers.rb:47:in `render_to_body'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/compatibility.rb:55:in `render_to_body'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:102:in `render_to_string'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:93:in `render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/rendering.rb:17:in `render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
/home/rubys/git/rails/activesupport/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/home/rubys/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
/home/rubys/git/rails/activesupport/lib/active_support/core_ext/benchmark.rb:5:in `ms'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
/home/rubys/git/rails/activerecord/lib/active_record/railties/controller_runtime.rb:15:in `cleanup_view_runtime'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:39:in `render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
/home/rubys/git/rails/actionpack/lib/abstract_controller/base.rb:150:in `process_action'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/rendering.rb:11:in `process_action'
/home/rubys/git/rails/actionpack/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:446:in `_run__585163115342490735__process_action__3636799504163200069__callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:410:in `_run_process_action_callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:94:in `run_callbacks'
/home/rubys/git/rails/actionpack/lib/abstract_controller/callbacks.rb:17:in `process_action'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/rescue.rb:17:in `process_action'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52:in `block in instrument'
/home/rubys/git/rails/activesupport/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52:in `instrument'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/home/rubys/git/rails/actionpack/lib/abstract_controller/base.rb:119:in `process'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:41:in `process'
/home/rubys/git/rails/actionpack/lib/action_controller/metal.rb:138:in `dispatch'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/home/rubys/git/rails/actionpack/lib/action_controller/metal.rb:178:in `block in action'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:68:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:68:in `dispatch'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:33:in `call'
rack-mount (0.6.14) lib/rack/mount/route_set.rb:148:in `block in call'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:93:in `block in recognize'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:264:in `optimized_each'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:92:in `recognize'
rack-mount (0.6.14) lib/rack/mount/route_set.rb:139:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:499:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/head.rb:14:in `call'
rack (1.2.8) lib/rack/methodoverride.rb:24:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/flash.rb:182:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/cookies.rb:302:in `call'
/home/rubys/git/rails/activerecord/lib/active_record/query_cache.rb:32:in `block in call'
/home/rubys/git/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache'
/home/rubys/git/rails/activerecord/lib/active_record/query_cache.rb:12:in `cache'
/home/rubys/git/rails/activerecord/lib/active_record/query_cache.rb:31:in `call'
/home/rubys/git/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/callbacks.rb:46:in `block in call'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:416:in `_run_call_callbacks'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/callbacks.rb:44:in `call'
rack (1.2.8) lib/rack/sendfile.rb:106:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
/home/rubys/git/rails/railties/lib/rails/rack/logger.rb:13:in `call'
rack (1.2.8) lib/rack/runtime.rb:17:in `call'
/home/rubys/git/rails/activesupport/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.2.8) lib/rack/lock.rb:13:in `block in call'
<internal:prelude>:10:in `synchronize'
rack (1.2.8) lib/rack/lock.rb:13:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/static.rb:30:in `call'
/home/rubys/git/rails/railties/lib/rails/application.rb:168:in `call'
/home/rubys/git/rails/railties/lib/rails/application.rb:77:in `method_missing'
/home/rubys/git/rails/railties/lib/rails/rack/log_tailer.rb:14:in `call'
rack (1.2.8) lib/rack/content_length.rb:13:in `call'
rack (1.2.8) lib/rack/handler/webrick.rb:52:in `service'
/home/rubys/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/home/rubys/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/home/rubys/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
Parameters:
None
_csrf_token: "BgcMD0N1AHLMTxHnlYBBZEeYQOG9WuyT1YYNZHkQ4FY=" cart_id: 13 session_id: "05083b84151244b3ac026c159a81d1fc"
GATEWAY_INTERFACE: "CGI/1.1" HTTP_ACCEPT: "text/html" HTTP_COOKIE: "_depot_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMDUwODNiODQxNTEyNDRiM2FjMDI2YzE1OWE4MWQxZmNJIhBfY3NyZl90b2tlbgY7AEZJIjFCZ2NNRDBOMUFITE1UeEhubFlCQlpFZVlRT0c5V3V5VDFZWU5aSGtRNEZZPQY7AEY%3D--e18ca110dfe6c3f3ffe95d3ad5d7190a75433ac7; path=/; HttpOnly" HTTP_HOST: "localhost:3000" HTTP_USER_AGENT: "Ruby" HTTP_VERSION: "HTTP/1.1" PATH_INFO: "/" QUERY_STRING: "" REMOTE_ADDR: "127.0.0.1" REMOTE_HOST: "localhost" REQUEST_METHOD: "GET" REQUEST_PATH: "/" REQUEST_URI: "http://localhost:3000/" SCRIPT_NAME: "" SERVER_NAME: "localhost" SERVER_PORT: "3000" SERVER_PROTOCOL: "HTTP/1.1" SERVER_SOFTWARE: "WEBrick/1.3.1 (Ruby/1.9.2/2012-04-20)" action_controller.instance: #<StoreController:0x0000000222a7e8 @action_has_layout=true, @view_context_class=nil, @_headers={"Content-Type"=>"text/html"}, @_status=200, @_response=#<ActionDispatch::Response:0x0000000222a248 @writer=#<Proc:0x00000002229f50@/home/rubys/git/rails/actionpack/lib/action_dispatch/http/response.rb:43 (lambda)>, @block=nil, @length=0, @header={}, @status=200, @body=[], @cookie=[], @sending_file=false, @blank=false, @cache_control={}, @etag=nil, @request=#<ActionDispatch::Request:0x0000000222a270 @env={"GATEWAY_INTERFACE"=>"CGI/1.1", "PATH_INFO"=>"/", "QUERY_STRING"=>"", "REMOTE_ADDR"=>"127.0.0.1", "REMOTE_HOST"=>"localhost", "REQUEST_METHOD"=>"GET", "REQUEST_URI"=>"http://localhost:3000/", "SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "SERVER_PORT"=>"3000", "SERVER_PROTOCOL"=>"HTTP/1.1", "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.9.2/2012-04-20)", "HTTP_ACCEPT"=>"text/html", "HTTP_USER_AGENT"=>"Ruby", "HTTP_COOKIE"=>"_depot_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMDUwODNiODQxNTEyNDRiM2FjMDI2YzE1OWE4MWQxZmNJIhBfY3NyZl90b2tlbgY7AEZJIjFCZ2NNRDBOMUFITE1UeEhubFlCQlpFZVlRT0c5V3V5VDFZWU5aSGtRNEZZPQY7AEY%3D--e18ca110dfe6c3f3ffe95d3ad5d7190a75433ac7; path=/; HttpOnly", "HTTP_HOST"=>"localhost:3000", "rack.version"=>[1, 1], "rack.input"=>#<StringIO:0x007f03085b39b8>, "rack.errors"=>#<IO:<STDERR>>, "rack.multithread"=>false, "rack.multiprocess"=>false, "rack.run_once"=>false, "rack.url_scheme"=>"http", "HTTP_VERSION"=>"HTTP/1.1", "REQUEST_PATH"=>"/", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.secret_token"=>"c51086661c17b125348d82415b3c706b138e238eedbbf99205f8e2cf2ed6f59da3ea58c8b419d3431e9c4996b946c1deab67d42de2ad0913bc14864aceed4017", "action_dispatch.show_exceptions"=>true, "action_dispatch.remote_ip"=>127.0.0.1, "rack.session"=>{"session_id"=>"05083b84151244b3ac026c159a81d1fc", "_csrf_token"=>"BgcMD0N1AHLMTxHnlYBBZEeYQOG9WuyT1YYNZHkQ4FY=", "cart_id"=>13}, "rack.session.options"=>{:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :id=>"05083b84151244b3ac026c159a81d1fc"}, "rack.request.cookie_string"=>"_depot_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMDUwODNiODQxNTEyNDRiM2FjMDI2YzE1OWE4MWQxZmNJIhBfY3NyZl90b2tlbgY7AEZJIjFCZ2NNRDBOMUFITE1UeEhubFlCQlpFZVlRT0c5V3V5VDFZWU5aSGtRNEZZPQY7AEY%3D--e18ca110dfe6c3f3ffe95d3ad5d7190a75433ac7; path=/; HttpOnly", "rack.request.cookie_hash"=>{"_depot_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMDUwODNiODQxNTEyNDRiM2FjMDI2YzE1OWE4MWQxZmNJIhBfY3NyZl90b2tlbgY7AEZJIjFCZ2NNRDBOMUFITE1UeEhubFlCQlpFZVlRT0c5V3V5VDFZWU5aSGtRNEZZPQY7AEY=--e18ca110dfe6c3f3ffe95d3ad5d7190a75433ac7", "path"=>"/", "HttpOnly"=>nil}, "action_dispatch.cookies"=>{"_depot_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMDUwODNiODQxNTEyNDRiM2FjMDI2YzE1OWE4MWQxZmNJIhBfY3NyZl90b2tlbgY7AEZJIjFCZ2NNRDBOMUFITE1UeEhubFlCQlpFZVlRT0c5V3V5VDFZWU5aSGtRNEZZPQY7AEY=--e18ca110dfe6c3f3ffe95d3ad5d7190a75433ac7", "path"=>"/", "HttpOnly"=>nil}, "action_dispatch.request.unsigned_session_cookie"=>{"session_id"=>"05083b84151244b3ac026c159a81d1fc", "_csrf_token"=>"BgcMD0N1AHLMTxHnlYBBZEeYQOG9WuyT1YYNZHkQ4FY="}, "action_dispatch.request.path_parameters"=>{:controller=>"store", :action=>"index"}, "action_controller.instance"=>#<StoreController:0x0000000222a7e8 ...>, "action_dispatch.request.content_type"=>nil, "action_dispatch.request.request_parameters"=>{}, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"controller"=>"store", "action"=>"index"}, "action_dispatch.request.accepts"=>[text/html], "action_dispatch.request.formats"=>[text/html], "action_dispatch.request.flash_hash"=>{}}, @request_method="GET", @filtered_parameters={"controller"=>"store", "action"=>"index"}, @method="GET", @fullpath="/">>, @_request=#<ActionDispatch::Request:0x0000000222a270 @env={"GATEWAY_INTERFACE"=>"CGI/1.1", "PATH_INFO"=>"/", "QUERY_STRING"=>"", "REMOTE_ADDR"=>"127.0.0.1", "REMOTE_HOST"=>"localhost", "REQUEST_METHOD"=>"GET", "REQUEST_URI"=>"http://localhost:3000/", "SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "SERVER_PORT"=>"3000", "SERVER_PROTOCOL"=>"HTTP/1.1", "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.9.2/2012-04-20)", "HTTP_ACCEPT"=>"text/html", "HTTP_USER_AGENT"=>"Ruby", "HTTP_COOKIE"=>"_depot_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMDUwODNiODQxNTEyNDRiM2FjMDI2YzE1OWE4MWQxZmNJIhBfY3NyZl90b2tlbgY7AEZJIjFCZ2NNRDBOMUFITE1UeEhubFlCQlpFZVlRT0c5V3V5VDFZWU5aSGtRNEZZPQY7AEY%3D--e18ca110dfe6c3f3ffe95d3ad5d7190a75433ac7; path=/; HttpOnly", "HTTP_HOST"=>"localhost:3000", "rack.version"=>[1, 1], "rack.input"=>#<StringIO:0x007f03085b39b8>, "rack.errors"=>#<IO:<STDERR>>, "rack.multithread"=>false, "rack.multiprocess"=>false, "rack.run_once"=>false, "rack.url_scheme"=>"http", "HTTP_VERSION"=>"HTTP/1.1", "REQUEST_PATH"=>"/", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.secret_token"=>"c51086661c17b125348d82415b3c706b138e238eedbbf99205f8e2cf2ed6f59da3ea58c8b419d3431e9c4996b946c1deab67d42de2ad0913bc14864aceed4017", "action_dispatch.show_exceptions"=>true, "action_dispatch.remote_ip"=>127.0.0.1, "rack.session"=>{"session_id"=>"05083b84151244b3ac026c159a81d1fc", "_csrf_token"=>"BgcMD0N1AHLMTxHnlYBBZEeYQOG9WuyT1YYNZHkQ4FY=", "cart_id"=>13}, "rack.session.options"=>{:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :id=>"05083b84151244b3ac026c159a81d1fc"}, "rack.request.cookie_string"=>"_depot_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMDUwODNiODQxNTEyNDRiM2FjMDI2YzE1OWE4MWQxZmNJIhBfY3NyZl90b2tlbgY7AEZJIjFCZ2NNRDBOMUFITE1UeEhubFlCQlpFZVlRT0c5V3V5VDFZWU5aSGtRNEZZPQY7AEY%3D--e18ca110dfe6c3f3ffe95d3ad5d7190a75433ac7; path=/; HttpOnly", "rack.request.cookie_hash"=>{"_depot_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMDUwODNiODQxNTEyNDRiM2FjMDI2YzE1OWE4MWQxZmNJIhBfY3NyZl90b2tlbgY7AEZJIjFCZ2NNRDBOMUFITE1UeEhubFlCQlpFZVlRT0c5V3V5VDFZWU5aSGtRNEZZPQY7AEY=--e18ca110dfe6c3f3ffe95d3ad5d7190a75433ac7", "path"=>"/", "HttpOnly"=>nil}, "action_dispatch.cookies"=>{"_depot_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMDUwODNiODQxNTEyNDRiM2FjMDI2YzE1OWE4MWQxZmNJIhBfY3NyZl90b2tlbgY7AEZJIjFCZ2NNRDBOMUFITE1UeEhubFlCQlpFZVlRT0c5V3V5VDFZWU5aSGtRNEZZPQY7AEY=--e18ca110dfe6c3f3ffe95d3ad5d7190a75433ac7", "path"=>"/", "HttpOnly"=>nil}, "action_dispatch.request.unsigned_session_cookie"=>{"session_id"=>"05083b84151244b3ac026c159a81d1fc", "_csrf_token"=>"BgcMD0N1AHLMTxHnlYBBZEeYQOG9WuyT1YYNZHkQ4FY="}, "action_dispatch.request.path_parameters"=>{:controller=>"store", :action=>"index"}, "action_controller.instance"=>#<StoreController:0x0000000222a7e8 ...>, "action_dispatch.request.content_type"=>nil, "action_dispatch.request.request_parameters"=>{}, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"controller"=>"store", "action"=>"index"}, "action_dispatch.request.accepts"=>[text/html], "action_dispatch.request.formats"=>[text/html], "action_dispatch.request.flash_hash"=>{}}, @request_method="GET", @filtered_parameters={"controller"=>"store", "action"=>"index"}, @method="GET", @fullpath="/">, @_env={"GATEWAY_INTERFACE"=>"CGI/1.1", "PATH_INFO"=>"/", "QUERY_STRING"=>"", "REMOTE_ADDR"=>"127.0.0.1", "REMOTE_HOST"=>"localhost", "REQUEST_METHOD"=>"GET", "REQUEST_URI"=>"http://localhost:3000/", "SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "SERVER_PORT"=>"3000", "SERVER_PROTOCOL"=>"HTTP/1.1", "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.9.2/2012-04-20)", "HTTP_ACCEPT"=>"text/html", "HTTP_USER_AGENT"=>"Ruby", "HTTP_COOKIE"=>"_depot_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMDUwODNiODQxNTEyNDRiM2FjMDI2YzE1OWE4MWQxZmNJIhBfY3NyZl90b2tlbgY7AEZJIjFCZ2NNRDBOMUFITE1UeEhubFlCQlpFZVlRT0c5V3V5VDFZWU5aSGtRNEZZPQY7AEY%3D--e18ca110dfe6c3f3ffe95d3ad5d7190a75433ac7; path=/; HttpOnly", "HTTP_HOST"=>"localhost:3000", "rack.version"=>[1, 1], "rack.input"=>#<StringIO:0x007f03085b39b8>, "rack.errors"=>#<IO:<STDERR>>, "rack.multithread"=>false, "rack.multiprocess"=>false, "rack.run_once"=>false, "rack.url_scheme"=>"http", "HTTP_VERSION"=>"HTTP/1.1", "REQUEST_PATH"=>"/", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.secret_token"=>"c51086661c17b125348d82415b3c706b138e238eedbbf99205f8e2cf2ed6f59da3ea58c8b419d3431e9c4996b946c1deab67d42de2ad0913bc14864aceed4017", "action_dispatch.show_exceptions"=>true, "action_dispatch.remote_ip"=>127.0.0.1, "rack.session"=>{"session_id"=>"05083b84151244b3ac026c159a81d1fc", "_csrf_token"=>"BgcMD0N1AHLMTxHnlYBBZEeYQOG9WuyT1YYNZHkQ4FY=", "cart_id"=>13}, "rack.session.options"=>{:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :id=>"05083b84151244b3ac026c159a81d1fc"}, "rack.request.cookie_string"=>"_depot_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMDUwODNiODQxNTEyNDRiM2FjMDI2YzE1OWE4MWQxZmNJIhBfY3NyZl90b2tlbgY7AEZJIjFCZ2NNRDBOMUFITE1UeEhubFlCQlpFZVlRT0c5V3V5VDFZWU5aSGtRNEZZPQY7AEY%3D--e18ca110dfe6c3f3ffe95d3ad5d7190a75433ac7; path=/; HttpOnly", "rack.request.cookie_hash"=>{"_depot_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMDUwODNiODQxNTEyNDRiM2FjMDI2YzE1OWE4MWQxZmNJIhBfY3NyZl90b2tlbgY7AEZJIjFCZ2NNRDBOMUFITE1UeEhubFlCQlpFZVlRT0c5V3V5VDFZWU5aSGtRNEZZPQY7AEY=--e18ca110dfe6c3f3ffe95d3ad5d7190a75433ac7", "path"=>"/", "HttpOnly"=>nil}, "action_dispatch.cookies"=>{"_depot_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMDUwODNiODQxNTEyNDRiM2FjMDI2YzE1OWE4MWQxZmNJIhBfY3NyZl90b2tlbgY7AEZJIjFCZ2NNRDBOMUFITE1UeEhubFlCQlpFZVlRT0c5V3V5VDFZWU5aSGtRNEZZPQY7AEY=--e18ca110dfe6c3f3ffe95d3ad5d7190a75433ac7", "path"=>"/", "HttpOnly"=>nil}, "action_dispatch.request.unsigned_session_cookie"=>{"session_id"=>"05083b84151244b3ac026c159a81d1fc", "_csrf_token"=>"BgcMD0N1AHLMTxHnlYBBZEeYQOG9WuyT1YYNZHkQ4FY="}, "action_dispatch.request.path_parameters"=>{:controller=>"store", :action=>"index"}, "action_controller.instance"=>#<StoreController:0x0000000222a7e8 ...>, "action_dispatch.request.content_type"=>nil, "action_dispatch.request.request_parameters"=>{}, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"controller"=>"store", "action"=>"index"}, "action_dispatch.request.accepts"=>[text/html], "action_dispatch.request.formats"=>[text/html], "action_dispatch.request.flash_hash"=>{}}, @lookup_context=#<ActionView::LookupContext:0x00000002228128 @details_key=#<ActionView::LookupContext::DetailsKey:0x000000029ddf08 @hash=2902404752953050360>, @details={:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml, :haml], :formats=>[:html], :locale=>[:en, :en]}, @skip_default_locale=false, @frozen_formats=true, @view_paths=[/home/rubys/git/awdwr/edition4/work-192-30/depot/app/views, /home/rubys/git/awdwr/edition4/work-192-30/depot/vendor/plugins/asset_packager/app/views]>, @_action_name="index", @_response_body=nil, @_config={}, @_params={"controller"=>"store", "action"=>"index"}, @cart=#<Cart id: 13, created_at: "2014-02-04 20:46:23", updated_at: "2014-02-04 20:46:23">, @products=[#<Product id: 2, title: "CoffeeScript", description: "<p>\n CoffeeScript is JavaScript done right. ...", image_url: "/images/cs.jpg", price: #<BigDecimal:7f0308c364c0,'0.31E2',9(18)>, created_at: "2014-02-04 20:40:52", updated_at: "2014-02-04 20:40:52">, #<Product id: 3, title: "Programming Ruby 1.9 & 2.0", description: "<p>\n Ruby is the fastest growing and most ex...", image_url: "/images/ruby.jpg", price: #<BigDecimal:7f0308c42180,'0.4995E2',18(18)>, created_at: "2014-02-04 20:40:52", updated_at: "2014-02-04 20:40:52">, #<Product id: 4, title: "Rails Test Prescriptions", description: "<p>\n <em>Rails Test Prescriptions</em> is a ...", image_url: "/images/rtp.jpg", price: #<BigDecimal:7f0308c40bc8,'0.3495E2',18(18)>, created_at: "2014-02-04 20:40:52", updated_at: "2014-02-04 20:40:52">]> action_dispatch.cookies: {"_depot_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMDUwODNiODQxNTEyNDRiM2FjMDI2YzE1OWE4MWQxZmNJIhBfY3NyZl90b2tlbgY7AEZJIjFCZ2NNRDBOMUFITE1UeEhubFlCQlpFZVlRT0c5V3V5VDFZWU5aSGtRNEZZPQY7AEY=--e18ca110dfe6c3f3ffe95d3ad5d7190a75433ac7", "path"=>"/", "HttpOnly"=>nil} action_dispatch.parameter_filter: [:password] action_dispatch.remote_ip: 127.0.0.1 action_dispatch.request.accepts: [text/html] action_dispatch.request.content_type: nil action_dispatch.request.flash_hash: {} action_dispatch.request.formats: [text/html] action_dispatch.request.parameters: {"controller"=>"store", "action"=>"index"} action_dispatch.request.path_parameters: {:controller=>"store", :action=>"index"} action_dispatch.request.query_parameters: {} action_dispatch.request.request_parameters: {} action_dispatch.request.unsigned_session_cookie: {"session_id"=>"05083b84151244b3ac026c159a81d1fc", "_csrf_token"=>"BgcMD0N1AHLMTxHnlYBBZEeYQOG9WuyT1YYNZHkQ4FY="} action_dispatch.secret_token: "c51086661c17b125348d82415b3c706b138e238eedbbf99205f8e2cf2ed6f59da3ea58c8b419d3431e9c4996b946c1deab67d42de2ad0913bc14864aceed4017" action_dispatch.show_exceptions: true rack.errors: #<IO:<STDERR>> rack.input: #<StringIO:0x007f03085b39b8> rack.multiprocess: false rack.multithread: false rack.request.cookie_hash: {"_depot_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMDUwODNiODQxNTEyNDRiM2FjMDI2YzE1OWE4MWQxZmNJIhBfY3NyZl90b2tlbgY7AEZJIjFCZ2NNRDBOMUFITE1UeEhubFlCQlpFZVlRT0c5V3V5VDFZWU5aSGtRNEZZPQY7AEY=--e18ca110dfe6c3f3ffe95d3ad5d7190a75433ac7", "path"=>"/", "HttpOnly"=>nil} rack.request.cookie_string: "_depot_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMDUwODNiODQxNTEyNDRiM2FjMDI2YzE1OWE4MWQxZmNJIhBfY3NyZl90b2tlbgY7AEZJIjFCZ2NNRDBOMUFITE1UeEhubFlCQlpFZVlRT0c5V3V5VDFZWU5aSGtRNEZZPQY7AEY%3D--e18ca110dfe6c3f3ffe95d3ad5d7190a75433ac7; path=/; HttpOnly" rack.request.query_hash: {} rack.request.query_string: "" rack.run_once: false rack.session: {"session_id"=>"05083b84151244b3ac026c159a81d1fc", "_csrf_token"=>"BgcMD0N1AHLMTxHnlYBBZEeYQOG9WuyT1YYNZHkQ4FY=", "cart_id"=>13} rack.session.options: {:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :id=>"05083b84151244b3ac026c159a81d1fc"} rack.url_scheme: "http" rack.version: [1, 1]
Headers:
None