Agile Web Development with Rails, Edition 4
16 Deployment
15.3 Task J3: Translating Checkout
15.4 Task J4: Add a locale switcher.
Expected at least 1 element matching "option[value='es']", found 0.
Traceback:
/home/rubys/git/awdwr/edition4/checkdepot.rb:391:in `block in <class:DepotTest>'
Add form for setting and showing the site based on the locale.
Use CSS to position the form.
edit public/stylesheets/depot.css
.locale {
float: right;
margin: -0.25em 0.1em;
}
When provided, save the locale in the session.
edit app/controllers/store_controller.rb
def index
if params[:set_locale]
redirect_to store_url(locale: params[:set_locale])
else
@products = Product.order(:title)
end
end
edit app/views/layouts/application.html.erb
<div id="banner">
<%= form_tag store_path, class: 'locale' do %>
<%= select_tag 'set_locale',
options_for_select(LANGUAGES, I18n.locale.to_s),
onchange: 'this.form.submit()' %>
<%= submit_tag 'submit' %>
<%= javascript_tag "$('.locale input').hide()" %>
<% end %>
<%= image_tag("logo.png") %>
<%= @page_title || t('.title') %>
</div>
Try out the form
get /en
NameError in
Store#index
Showing /home/rubys/git/awdwr/edition4/work-192-30/depot/app/views/store/index.html.erb where line #6 raised:
uninitialized constant I18n::RESERVED_KEYS
Extracted source (around line #6):
3: <% end %>
4:
5: <!-- START_HIGHLIGHT -->
6: <h1><%= t('.title_html') %></h1>
7: <!-- END_HIGHLIGHT -->
8:
9: <% @products.each do |product| %>
Rails.root: /home/rubys/git/awdwr/edition4/work-192-30/depot
Application Trace |
Framework Trace |
Full Trace
app/views/store/index.html.erb:6:in `_app_views_store_index_html_erb___2376477419595695665_30373580_558081496217810729'
/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'
/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__2009478499164449483__process_action__2728364778647257130__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:229: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.erb:6:in `_app_views_store_index_html_erb___2376477419595695665_30373580_558081496217810729'
/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'
/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__2009478499164449483__process_action__2728364778647257130__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:229: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'
Request
Parameters:
{"locale"=>"en"}
Show session dump
_csrf_token: "ocYtWsYC4qyyghcQGx5xx2LFTzySTeJkqOX4eyaW/8A="
cart_id: 4
flash: {:notice=>"Your cart is empty"}
session_id: "bfc597470818e99e50061b581e4885b6"
user_id: 1
Show env dump
GATEWAY_INTERFACE: "CGI/1.1"
HTTP_ACCEPT: "text/html"
HTTP_COOKIE: "_depot_session=BAh7CkkiD3Nlc3Npb25faWQGOgZFRiIlYmZjNTk3NDcwODE4ZTk5ZTUwMDYxYjU4MWU0ODg1YjZJIhBfY3NyZl90b2tlbgY7AEZJIjFvY1l0V3NZQzRxeXlnaGNRR3g1eHgyTEZUenlTVGVKa3FPWDRleWFXLzhBPQY7AEZJIgxjYXJ0X2lkBjsARmkJSSIMdXNlcl9pZAY7AEZpBkkiCmZsYXNoBjsARklDOiVBY3Rpb25EaXNwYXRjaDo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2VJIhdZb3VyIGNhcnQgaXMgZW1wdHkGOwBGBjoKQHVzZWRvOghTZXQGOgpAaGFzaHsA--2e500b0a457976acac8abeb496a0b04e681906a9; path=/; HttpOnly"
HTTP_HOST: "localhost:3000"
HTTP_USER_AGENT: "Ruby"
HTTP_VERSION: "HTTP/1.1"
PATH_INFO: "/en"
QUERY_STRING: ""
REMOTE_ADDR: "127.0.0.1"
REMOTE_HOST: "localhost"
REQUEST_METHOD: "GET"
REQUEST_PATH: "/"
REQUEST_URI: "http://localhost:3000/en"
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:0x007f90084c9218 @action_has_layout=true, @view_context_class=nil, @_headers={"Content-Type"=>"text/html"}, @_status=200, @_response=#<ActionDispatch::Response:0x007f90084c8fe8 @writer=#<Proc:0x007f90084c8e80@/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:0x007f90084c9010 @env={"GATEWAY_INTERFACE"=>"CGI/1.1", "PATH_INFO"=>"/en", "QUERY_STRING"=>"", "REMOTE_ADDR"=>"127.0.0.1", "REMOTE_HOST"=>"localhost", "REQUEST_METHOD"=>"GET", "REQUEST_URI"=>"http://localhost:3000/en", "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=BAh7CkkiD3Nlc3Npb25faWQGOgZFRiIlYmZjNTk3NDcwODE4ZTk5ZTUwMDYxYjU4MWU0ODg1YjZJIhBfY3NyZl90b2tlbgY7AEZJIjFvY1l0V3NZQzRxeXlnaGNRR3g1eHgyTEZUenlTVGVKa3FPWDRleWFXLzhBPQY7AEZJIgxjYXJ0X2lkBjsARmkJSSIMdXNlcl9pZAY7AEZpBkkiCmZsYXNoBjsARklDOiVBY3Rpb25EaXNwYXRjaDo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2VJIhdZb3VyIGNhcnQgaXMgZW1wdHkGOwBGBjoKQHVzZWRvOghTZXQGOgpAaGFzaHsA--2e500b0a457976acac8abeb496a0b04e681906a9; path=/; HttpOnly", "HTTP_HOST"=>"localhost:3000", "rack.version"=>[1, 1], "rack.input"=>#<StringIO:0x007f9008afb0c8>, "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"=>"bfc597470818e99e50061b581e4885b6", "_csrf_token"=>"ocYtWsYC4qyyghcQGx5xx2LFTzySTeJkqOX4eyaW/8A=", "cart_id"=>4, "user_id"=>1, "flash"=>{:notice=>"Your cart is empty"}}, "rack.session.options"=>{:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :id=>"bfc597470818e99e50061b581e4885b6"}, "rack.request.cookie_string"=>"_depot_session=BAh7CkkiD3Nlc3Npb25faWQGOgZFRiIlYmZjNTk3NDcwODE4ZTk5ZTUwMDYxYjU4MWU0ODg1YjZJIhBfY3NyZl90b2tlbgY7AEZJIjFvY1l0V3NZQzRxeXlnaGNRR3g1eHgyTEZUenlTVGVKa3FPWDRleWFXLzhBPQY7AEZJIgxjYXJ0X2lkBjsARmkJSSIMdXNlcl9pZAY7AEZpBkkiCmZsYXNoBjsARklDOiVBY3Rpb25EaXNwYXRjaDo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2VJIhdZb3VyIGNhcnQgaXMgZW1wdHkGOwBGBjoKQHVzZWRvOghTZXQGOgpAaGFzaHsA--2e500b0a457976acac8abeb496a0b04e681906a9; path=/; HttpOnly", "rack.request.cookie_hash"=>{"_depot_session"=>"BAh7CkkiD3Nlc3Npb25faWQGOgZFRiIlYmZjNTk3NDcwODE4ZTk5ZTUwMDYxYjU4MWU0ODg1YjZJIhBfY3NyZl90b2tlbgY7AEZJIjFvY1l0V3NZQzRxeXlnaGNRR3g1eHgyTEZUenlTVGVKa3FPWDRleWFXLzhBPQY7AEZJIgxjYXJ0X2lkBjsARmkJSSIMdXNlcl9pZAY7AEZpBkkiCmZsYXNoBjsARklDOiVBY3Rpb25EaXNwYXRjaDo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2VJIhdZb3VyIGNhcnQgaXMgZW1wdHkGOwBGBjoKQHVzZWRvOghTZXQGOgpAaGFzaHsA--2e500b0a457976acac8abeb496a0b04e681906a9", "path"=>"/", "HttpOnly"=>nil}, "action_dispatch.cookies"=>{"_depot_session"=>"BAh7CkkiD3Nlc3Npb25faWQGOgZFRiIlYmZjNTk3NDcwODE4ZTk5ZTUwMDYxYjU4MWU0ODg1YjZJIhBfY3NyZl90b2tlbgY7AEZJIjFvY1l0V3NZQzRxeXlnaGNRR3g1eHgyTEZUenlTVGVKa3FPWDRleWFXLzhBPQY7AEZJIgxjYXJ0X2lkBjsARmkJSSIMdXNlcl9pZAY7AEZpBkkiCmZsYXNoBjsARklDOiVBY3Rpb25EaXNwYXRjaDo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2VJIhdZb3VyIGNhcnQgaXMgZW1wdHkGOwBGBjoKQHVzZWRvOghTZXQGOgpAaGFzaHsA--2e500b0a457976acac8abeb496a0b04e681906a9", "path"=>"/", "HttpOnly"=>nil}, "action_dispatch.request.unsigned_session_cookie"=>{"session_id"=>"bfc597470818e99e50061b581e4885b6", "_csrf_token"=>"ocYtWsYC4qyyghcQGx5xx2LFTzySTeJkqOX4eyaW/8A=", "cart_id"=>4, "user_id"=>1, "flash"=>{:notice=>"Your cart is empty"}}, "action_dispatch.request.path_parameters"=>{:controller=>"store", :action=>"index", :locale=>"en"}, "action_controller.instance"=>#<StoreController:0x007f90084c9218 ...>, "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", "locale"=>"en"}, "action_dispatch.request.accepts"=>[text/html], "action_dispatch.request.formats"=>[text/html], "action_dispatch.request.flash_hash"=>{:notice=>"Your cart is empty"}}, @request_method="GET", @filtered_parameters={"controller"=>"store", "action"=>"index", "locale"=>"en"}, @method="GET", @fullpath="/en">>, @_request=#<ActionDispatch::Request:0x007f90084c9010 @env={"GATEWAY_INTERFACE"=>"CGI/1.1", "PATH_INFO"=>"/en", "QUERY_STRING"=>"", "REMOTE_ADDR"=>"127.0.0.1", "REMOTE_HOST"=>"localhost", "REQUEST_METHOD"=>"GET", "REQUEST_URI"=>"http://localhost:3000/en", "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=BAh7CkkiD3Nlc3Npb25faWQGOgZFRiIlYmZjNTk3NDcwODE4ZTk5ZTUwMDYxYjU4MWU0ODg1YjZJIhBfY3NyZl90b2tlbgY7AEZJIjFvY1l0V3NZQzRxeXlnaGNRR3g1eHgyTEZUenlTVGVKa3FPWDRleWFXLzhBPQY7AEZJIgxjYXJ0X2lkBjsARmkJSSIMdXNlcl9pZAY7AEZpBkkiCmZsYXNoBjsARklDOiVBY3Rpb25EaXNwYXRjaDo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2VJIhdZb3VyIGNhcnQgaXMgZW1wdHkGOwBGBjoKQHVzZWRvOghTZXQGOgpAaGFzaHsA--2e500b0a457976acac8abeb496a0b04e681906a9; path=/; HttpOnly", "HTTP_HOST"=>"localhost:3000", "rack.version"=>[1, 1], "rack.input"=>#<StringIO:0x007f9008afb0c8>, "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"=>"bfc597470818e99e50061b581e4885b6", "_csrf_token"=>"ocYtWsYC4qyyghcQGx5xx2LFTzySTeJkqOX4eyaW/8A=", "cart_id"=>4, "user_id"=>1, "flash"=>{:notice=>"Your cart is empty"}}, "rack.session.options"=>{:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :id=>"bfc597470818e99e50061b581e4885b6"}, "rack.request.cookie_string"=>"_depot_session=BAh7CkkiD3Nlc3Npb25faWQGOgZFRiIlYmZjNTk3NDcwODE4ZTk5ZTUwMDYxYjU4MWU0ODg1YjZJIhBfY3NyZl90b2tlbgY7AEZJIjFvY1l0V3NZQzRxeXlnaGNRR3g1eHgyTEZUenlTVGVKa3FPWDRleWFXLzhBPQY7AEZJIgxjYXJ0X2lkBjsARmkJSSIMdXNlcl9pZAY7AEZpBkkiCmZsYXNoBjsARklDOiVBY3Rpb25EaXNwYXRjaDo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2VJIhdZb3VyIGNhcnQgaXMgZW1wdHkGOwBGBjoKQHVzZWRvOghTZXQGOgpAaGFzaHsA--2e500b0a457976acac8abeb496a0b04e681906a9; path=/; HttpOnly", "rack.request.cookie_hash"=>{"_depot_session"=>"BAh7CkkiD3Nlc3Npb25faWQGOgZFRiIlYmZjNTk3NDcwODE4ZTk5ZTUwMDYxYjU4MWU0ODg1YjZJIhBfY3NyZl90b2tlbgY7AEZJIjFvY1l0V3NZQzRxeXlnaGNRR3g1eHgyTEZUenlTVGVKa3FPWDRleWFXLzhBPQY7AEZJIgxjYXJ0X2lkBjsARmkJSSIMdXNlcl9pZAY7AEZpBkkiCmZsYXNoBjsARklDOiVBY3Rpb25EaXNwYXRjaDo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2VJIhdZb3VyIGNhcnQgaXMgZW1wdHkGOwBGBjoKQHVzZWRvOghTZXQGOgpAaGFzaHsA--2e500b0a457976acac8abeb496a0b04e681906a9", "path"=>"/", "HttpOnly"=>nil}, "action_dispatch.cookies"=>{"_depot_session"=>"BAh7CkkiD3Nlc3Npb25faWQGOgZFRiIlYmZjNTk3NDcwODE4ZTk5ZTUwMDYxYjU4MWU0ODg1YjZJIhBfY3NyZl90b2tlbgY7AEZJIjFvY1l0V3NZQzRxeXlnaGNRR3g1eHgyTEZUenlTVGVKa3FPWDRleWFXLzhBPQY7AEZJIgxjYXJ0X2lkBjsARmkJSSIMdXNlcl9pZAY7AEZpBkkiCmZsYXNoBjsARklDOiVBY3Rpb25EaXNwYXRjaDo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2VJIhdZb3VyIGNhcnQgaXMgZW1wdHkGOwBGBjoKQHVzZWRvOghTZXQGOgpAaGFzaHsA--2e500b0a457976acac8abeb496a0b04e681906a9", "path"=>"/", "HttpOnly"=>nil}, "action_dispatch.request.unsigned_session_cookie"=>{"session_id"=>"bfc597470818e99e50061b581e4885b6", "_csrf_token"=>"ocYtWsYC4qyyghcQGx5xx2LFTzySTeJkqOX4eyaW/8A=", "cart_id"=>4, "user_id"=>1, "flash"=>{:notice=>"Your cart is empty"}}, "action_dispatch.request.path_parameters"=>{:controller=>"store", :action=>"index", :locale=>"en"}, "action_controller.instance"=>#<StoreController:0x007f90084c9218 ...>, "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", "locale"=>"en"}, "action_dispatch.request.accepts"=>[text/html], "action_dispatch.request.formats"=>[text/html], "action_dispatch.request.flash_hash"=>{:notice=>"Your cart is empty"}}, @request_method="GET", @filtered_parameters={"controller"=>"store", "action"=>"index", "locale"=>"en"}, @method="GET", @fullpath="/en">, @_env={"GATEWAY_INTERFACE"=>"CGI/1.1", "PATH_INFO"=>"/en", "QUERY_STRING"=>"", "REMOTE_ADDR"=>"127.0.0.1", "REMOTE_HOST"=>"localhost", "REQUEST_METHOD"=>"GET", "REQUEST_URI"=>"http://localhost:3000/en", "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=BAh7CkkiD3Nlc3Npb25faWQGOgZFRiIlYmZjNTk3NDcwODE4ZTk5ZTUwMDYxYjU4MWU0ODg1YjZJIhBfY3NyZl90b2tlbgY7AEZJIjFvY1l0V3NZQzRxeXlnaGNRR3g1eHgyTEZUenlTVGVKa3FPWDRleWFXLzhBPQY7AEZJIgxjYXJ0X2lkBjsARmkJSSIMdXNlcl9pZAY7AEZpBkkiCmZsYXNoBjsARklDOiVBY3Rpb25EaXNwYXRjaDo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2VJIhdZb3VyIGNhcnQgaXMgZW1wdHkGOwBGBjoKQHVzZWRvOghTZXQGOgpAaGFzaHsA--2e500b0a457976acac8abeb496a0b04e681906a9; path=/; HttpOnly", "HTTP_HOST"=>"localhost:3000", "rack.version"=>[1, 1], "rack.input"=>#<StringIO:0x007f9008afb0c8>, "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"=>"bfc597470818e99e50061b581e4885b6", "_csrf_token"=>"ocYtWsYC4qyyghcQGx5xx2LFTzySTeJkqOX4eyaW/8A=", "cart_id"=>4, "user_id"=>1, "flash"=>{:notice=>"Your cart is empty"}}, "rack.session.options"=>{:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :id=>"bfc597470818e99e50061b581e4885b6"}, "rack.request.cookie_string"=>"_depot_session=BAh7CkkiD3Nlc3Npb25faWQGOgZFRiIlYmZjNTk3NDcwODE4ZTk5ZTUwMDYxYjU4MWU0ODg1YjZJIhBfY3NyZl90b2tlbgY7AEZJIjFvY1l0V3NZQzRxeXlnaGNRR3g1eHgyTEZUenlTVGVKa3FPWDRleWFXLzhBPQY7AEZJIgxjYXJ0X2lkBjsARmkJSSIMdXNlcl9pZAY7AEZpBkkiCmZsYXNoBjsARklDOiVBY3Rpb25EaXNwYXRjaDo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2VJIhdZb3VyIGNhcnQgaXMgZW1wdHkGOwBGBjoKQHVzZWRvOghTZXQGOgpAaGFzaHsA--2e500b0a457976acac8abeb496a0b04e681906a9; path=/; HttpOnly", "rack.request.cookie_hash"=>{"_depot_session"=>"BAh7CkkiD3Nlc3Npb25faWQGOgZFRiIlYmZjNTk3NDcwODE4ZTk5ZTUwMDYxYjU4MWU0ODg1YjZJIhBfY3NyZl90b2tlbgY7AEZJIjFvY1l0V3NZQzRxeXlnaGNRR3g1eHgyTEZUenlTVGVKa3FPWDRleWFXLzhBPQY7AEZJIgxjYXJ0X2lkBjsARmkJSSIMdXNlcl9pZAY7AEZpBkkiCmZsYXNoBjsARklDOiVBY3Rpb25EaXNwYXRjaDo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2VJIhdZb3VyIGNhcnQgaXMgZW1wdHkGOwBGBjoKQHVzZWRvOghTZXQGOgpAaGFzaHsA--2e500b0a457976acac8abeb496a0b04e681906a9", "path"=>"/", "HttpOnly"=>nil}, "action_dispatch.cookies"=>{"_depot_session"=>"BAh7CkkiD3Nlc3Npb25faWQGOgZFRiIlYmZjNTk3NDcwODE4ZTk5ZTUwMDYxYjU4MWU0ODg1YjZJIhBfY3NyZl90b2tlbgY7AEZJIjFvY1l0V3NZQzRxeXlnaGNRR3g1eHgyTEZUenlTVGVKa3FPWDRleWFXLzhBPQY7AEZJIgxjYXJ0X2lkBjsARmkJSSIMdXNlcl9pZAY7AEZpBkkiCmZsYXNoBjsARklDOiVBY3Rpb25EaXNwYXRjaDo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2VJIhdZb3VyIGNhcnQgaXMgZW1wdHkGOwBGBjoKQHVzZWRvOghTZXQGOgpAaGFzaHsA--2e500b0a457976acac8abeb496a0b04e681906a9", "path"=>"/", "HttpOnly"=>nil}, "action_dispatch.request.unsigned_session_cookie"=>{"session_id"=>"bfc597470818e99e50061b581e4885b6", "_csrf_token"=>"ocYtWsYC4qyyghcQGx5xx2LFTzySTeJkqOX4eyaW/8A=", "cart_id"=>4, "user_id"=>1, "flash"=>{:notice=>"Your cart is empty"}}, "action_dispatch.request.path_parameters"=>{:controller=>"store", :action=>"index", :locale=>"en"}, "action_controller.instance"=>#<StoreController:0x007f90084c9218 ...>, "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", "locale"=>"en"}, "action_dispatch.request.accepts"=>[text/html], "action_dispatch.request.formats"=>[text/html], "action_dispatch.request.flash_hash"=>{:notice=>"Your cart is empty"}}, @lookup_context=#<ActionView::LookupContext:0x007f90084c7bc0 @details_key=#<ActionView::LookupContext::DetailsKey:0x007f9008aa1500 @hash=-1198565586122377559>, @details={:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :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]>, @_action_name="index", @_response_body=nil, @_config={}, @_params={"controller"=>"store", "action"=>"index", "locale"=>"en"}, @cart=#<Cart id: 4, created_at: "2014-02-04 20:42:56", updated_at: "2014-02-04 20:42:56">, @products=[#<Product id: 2, title: "CoffeeScript", description: "<p>\n CoffeeScript is JavaScript done right. ...", image_url: "/images/cs.jpg", price: #<BigDecimal:7f9008e1e1b0,'0.36E2',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:7f9008e1c4a0,'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:7f9008e1ada8,'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"=>"BAh7CkkiD3Nlc3Npb25faWQGOgZFRiIlYmZjNTk3NDcwODE4ZTk5ZTUwMDYxYjU4MWU0ODg1YjZJIhBfY3NyZl90b2tlbgY7AEZJIjFvY1l0V3NZQzRxeXlnaGNRR3g1eHgyTEZUenlTVGVKa3FPWDRleWFXLzhBPQY7AEZJIgxjYXJ0X2lkBjsARmkJSSIMdXNlcl9pZAY7AEZpBkkiCmZsYXNoBjsARklDOiVBY3Rpb25EaXNwYXRjaDo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2VJIhdZb3VyIGNhcnQgaXMgZW1wdHkGOwBGBjoKQHVzZWRvOghTZXQGOgpAaGFzaHsA--2e500b0a457976acac8abeb496a0b04e681906a9", "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: {:notice=>"Your cart is empty"}
action_dispatch.request.formats: [text/html]
action_dispatch.request.parameters: {"controller"=>"store", "action"=>"index", "locale"=>"en"}
action_dispatch.request.path_parameters: {:controller=>"store", :action=>"index", :locale=>"en"}
action_dispatch.request.query_parameters: {}
action_dispatch.request.request_parameters: {}
action_dispatch.request.unsigned_session_cookie: {"session_id"=>"bfc597470818e99e50061b581e4885b6", "_csrf_token"=>"ocYtWsYC4qyyghcQGx5xx2LFTzySTeJkqOX4eyaW/8A=", "cart_id"=>4, "user_id"=>1, "flash"=>{:notice=>"Your cart is empty"}}
action_dispatch.secret_token: "c51086661c17b125348d82415b3c706b138e238eedbbf99205f8e2cf2ed6f59da3ea58c8b419d3431e9c4996b946c1deab67d42de2ad0913bc14864aceed4017"
action_dispatch.show_exceptions: true
rack.errors: #<IO:<STDERR>>
rack.input: #<StringIO:0x007f9008afb0c8>
rack.multiprocess: false
rack.multithread: false
rack.request.cookie_hash: {"_depot_session"=>"BAh7CkkiD3Nlc3Npb25faWQGOgZFRiIlYmZjNTk3NDcwODE4ZTk5ZTUwMDYxYjU4MWU0ODg1YjZJIhBfY3NyZl90b2tlbgY7AEZJIjFvY1l0V3NZQzRxeXlnaGNRR3g1eHgyTEZUenlTVGVKa3FPWDRleWFXLzhBPQY7AEZJIgxjYXJ0X2lkBjsARmkJSSIMdXNlcl9pZAY7AEZpBkkiCmZsYXNoBjsARklDOiVBY3Rpb25EaXNwYXRjaDo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2VJIhdZb3VyIGNhcnQgaXMgZW1wdHkGOwBGBjoKQHVzZWRvOghTZXQGOgpAaGFzaHsA--2e500b0a457976acac8abeb496a0b04e681906a9", "path"=>"/", "HttpOnly"=>nil}
rack.request.cookie_string: "_depot_session=BAh7CkkiD3Nlc3Npb25faWQGOgZFRiIlYmZjNTk3NDcwODE4ZTk5ZTUwMDYxYjU4MWU0ODg1YjZJIhBfY3NyZl90b2tlbgY7AEZJIjFvY1l0V3NZQzRxeXlnaGNRR3g1eHgyTEZUenlTVGVKa3FPWDRleWFXLzhBPQY7AEZJIgxjYXJ0X2lkBjsARmkJSSIMdXNlcl9pZAY7AEZpBkkiCmZsYXNoBjsARklDOiVBY3Rpb25EaXNwYXRjaDo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2VJIhdZb3VyIGNhcnQgaXMgZW1wdHkGOwBGBjoKQHVzZWRvOghTZXQGOgpAaGFzaHsA--2e500b0a457976acac8abeb496a0b04e681906a9; path=/; HttpOnly"
rack.request.query_hash: {}
rack.request.query_string: ""
rack.run_once: false
rack.session: {"session_id"=>"bfc597470818e99e50061b581e4885b6", "_csrf_token"=>"ocYtWsYC4qyyghcQGx5xx2LFTzySTeJkqOX4eyaW/8A=", "cart_id"=>4, "user_id"=>1, "flash"=>{:notice=>"Your cart is empty"}}
rack.session.options: {:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :id=>"bfc597470818e99e50061b581e4885b6"}
rack.url_scheme: "http"
rack.version: [1, 1]
Response
Headers:
None
rake test
[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.
[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.
Loaded suite /home/rubys/.rvm/gems/ruby-1.9.2-p320/gems/rake-10.1.1/lib/rake/rake_test_loader
Started
..........
Finished in 0.342131 seconds.
10 tests, 31 assertions, 0 failures, 0 errors, 0 skips
Test run options: --seed 44982
[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.
Loaded suite /home/rubys/.rvm/gems/ruby-1.9.2-p320/gems/rake-10.1.1/lib/rake/rake_test_loader
Started
.....................E.E...............EE.......
Finished in 1.050470 seconds.
1) Error:
test_should_get_edit(OrdersControllerTest):
ActionView::Template::Error: uninitialized constant I18n::RESERVED_KEYS
/home/rubys/git/rails/actionpack/lib/action_view/helpers/translation_helper.rb:50:in `translate'
/home/rubys/git/awdwr/edition4/work-192-30/depot/app/views/orders/_form.html.erb:31:in `block in _app_views_orders__form_html_erb___4272172148724778675_25069500__448316217307105316'
/home/rubys/git/rails/actionpack/lib/action_view/helpers/capture_helper.rb:40:in `block in capture'
/home/rubys/git/rails/actionpack/lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/rubys/git/rails/actionpack/lib/action_view/helpers/capture_helper.rb:40:in `capture'
/home/rubys/git/rails/actionpack/lib/action_view/helpers/form_helper.rb:545:in `fields_for'
/home/rubys/git/rails/actionpack/lib/action_view/helpers/form_helper.rb:320:in `form_for'
/home/rubys/git/awdwr/edition4/work-192-30/depot/app/views/orders/_form.html.erb:2:in `_app_views_orders__form_html_erb___4272172148724778675_25069500__448316217307105316'
/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: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/template.rb:127:in `render'
/home/rubys/git/rails/actionpack/lib/action_view/render/partials.rb:333:in `render_partial'
/home/rubys/git/rails/actionpack/lib/action_view/render/partials.rb:262:in `block in render'
/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/partials.rb:260:in `render'
/home/rubys/git/rails/actionpack/lib/action_view/render/partials.rb:378:in `_render_partial'
/home/rubys/git/rails/actionpack/lib/action_view/render/rendering.rb:31:in `render'
/home/rubys/git/awdwr/edition4/work-192-30/depot/app/views/orders/edit.html.erb:3:in `_app_views_orders_edit_html_erb__1860248399922319580_25242860__4573138605780712050'
/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: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/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'
/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'
2) Error:
test_should_get_new(OrdersControllerTest):
ActionView::Template::Error: uninitialized constant I18n::RESERVED_KEYS
/home/rubys/git/rails/actionpack/lib/action_view/helpers/translation_helper.rb:50:in `translate'
/home/rubys/git/awdwr/edition4/work-192-30/depot/app/views/orders/_form.html.erb:31:in `block in _app_views_orders__form_html_erb___4272172148724778675_25069500__448316217307105316'
/home/rubys/git/rails/actionpack/lib/action_view/helpers/capture_helper.rb:40:in `block in capture'
/home/rubys/git/rails/actionpack/lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/rubys/git/rails/actionpack/lib/action_view/helpers/capture_helper.rb:40:in `capture'
/home/rubys/git/rails/actionpack/lib/action_view/helpers/form_helper.rb:545:in `fields_for'
/home/rubys/git/rails/actionpack/lib/action_view/helpers/form_helper.rb:320:in `form_for'
/home/rubys/git/awdwr/edition4/work-192-30/depot/app/views/orders/_form.html.erb:2:in `_app_views_orders__form_html_erb___4272172148724778675_25069500__448316217307105316'
/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: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/template.rb:127:in `render'
/home/rubys/git/rails/actionpack/lib/action_view/render/partials.rb:333:in `render_partial'
/home/rubys/git/rails/actionpack/lib/action_view/render/partials.rb:262:in `block in render'
/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/partials.rb:260:in `render'
/home/rubys/git/rails/actionpack/lib/action_view/render/partials.rb:378:in `_render_partial'
/home/rubys/git/rails/actionpack/lib/action_view/render/rendering.rb:31:in `render'
/home/rubys/git/awdwr/edition4/work-192-30/depot/app/views/orders/new.html.erb:6:in `_app_views_orders_new_html_erb__1208260181697530377_15605600__4573138605780712050'
/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: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/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'
/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'
3) Error:
test_markup_needed_for_store.js.coffee_is_in_place(StoreControllerTest):
ActionView::Template::Error: uninitialized constant I18n::RESERVED_KEYS
/home/rubys/git/rails/actionpack/lib/action_view/helpers/translation_helper.rb:50:in `translate'
/home/rubys/git/awdwr/edition4/work-192-30/depot/app/views/store/index.html.erb:6:in `_app_views_store_index_html_erb___662947281382384415_17580740__4573138605780712050'
/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: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/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'
/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'
4) Error:
test_should_get_index(StoreControllerTest):
ActionView::Template::Error: uninitialized constant I18n::RESERVED_KEYS
/home/rubys/git/rails/actionpack/lib/action_view/helpers/translation_helper.rb:50:in `translate'
/home/rubys/git/awdwr/edition4/work-192-30/depot/app/views/store/index.html.erb:6:in `_app_views_store_index_html_erb___662947281382384415_17580740__4573138605780712050'
/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: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/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'
/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'
48 tests, 71 assertions, 0 failures, 4 errors, 0 skips
Test run options: --seed 19332
[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.
Loaded suite /home/rubys/.rvm/gems/ruby-1.9.2-p320/gems/rake-10.1.1/lib/rake/rake_test_loader
Started
EEE
Finished in 0.441956 seconds.
1) Error:
test_buying_a_product(DslUserStoriesTest):
ActionView::Template::Error: uninitialized constant I18n::RESERVED_KEYS
/home/rubys/git/rails/actionpack/lib/action_view/helpers/translation_helper.rb:50:in `translate'
/home/rubys/git/awdwr/edition4/work-192-30/depot/app/views/store/index.html.erb:6:in `_app_views_store_index_html_erb__2949503750645933364_23268500__2623708917248904498'
/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: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/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'
/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'
2) Error:
test_two_people_buying(DslUserStoriesTest):
ActionView::Template::Error: uninitialized constant I18n::RESERVED_KEYS
/home/rubys/git/rails/actionpack/lib/action_view/helpers/translation_helper.rb:50:in `translate'
/home/rubys/git/awdwr/edition4/work-192-30/depot/app/views/orders/_form.html.erb:31:in `block in _app_views_orders__form_html_erb___935319913480371281_20590020__3425078594241605889'
/home/rubys/git/rails/actionpack/lib/action_view/helpers/capture_helper.rb:40:in `block in capture'
/home/rubys/git/rails/actionpack/lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/rubys/git/rails/actionpack/lib/action_view/helpers/capture_helper.rb:40:in `capture'
/home/rubys/git/rails/actionpack/lib/action_view/helpers/form_helper.rb:545:in `fields_for'
/home/rubys/git/rails/actionpack/lib/action_view/helpers/form_helper.rb:320:in `form_for'
/home/rubys/git/awdwr/edition4/work-192-30/depot/app/views/orders/_form.html.erb:2:in `_app_views_orders__form_html_erb___935319913480371281_20590020__3425078594241605889'
/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: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/template.rb:127:in `render'
/home/rubys/git/rails/actionpack/lib/action_view/render/partials.rb:333:in `render_partial'
/home/rubys/git/rails/actionpack/lib/action_view/render/partials.rb:262:in `block in render'
/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/partials.rb:260:in `render'
/home/rubys/git/rails/actionpack/lib/action_view/render/partials.rb:378:in `_render_partial'
/home/rubys/git/rails/actionpack/lib/action_view/render/rendering.rb:31:in `render'
/home/rubys/git/awdwr/edition4/work-192-30/depot/app/views/orders/new.html.erb:6:in `_app_views_orders_new_html_erb___4033671276809224038_20861760__2623708917248904498'
/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: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/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'
/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'
3) Error:
test_buying_a_product(UserStoriesTest):
ActionView::Template::Error: uninitialized constant I18n::RESERVED_KEYS
/home/rubys/git/rails/actionpack/lib/action_view/helpers/translation_helper.rb:50:in `translate'
/home/rubys/git/awdwr/edition4/work-192-30/depot/app/views/store/index.html.erb:6:in `_app_views_store_index_html_erb__2949503750645933364_23268500__2623708917248904498'
/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: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/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'
/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'
3 tests, 0 assertions, 0 failures, 3 errors, 0 skips
Test run options: --seed 37345
Errors running test:functionals, test:integration!
16 Deployment
15.3 Task J3: Translating Checkout