Skip to content

Instantly share code, notes, and snippets.

@ruprict
Created March 10, 2016 01:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ruprict/dd086ad2dd4cfcb8263f to your computer and use it in GitHub Desktop.
Save ruprict/dd086ad2dd4cfcb8263f to your computer and use it in GitHub Desktop.
*****
product-search_1 | #<ActionDispatch::Http::Headers:0x0056147e7de5b8 @env={"rack.version"=>[1, 3], "rack.errors"=>#<IO:<STDERR>>, "rack.multithread"=>false, "rack.multiprocess"=>false, "rack.run_once"=>false, "SCRIPT_NAME"=>"", "QUERY_STRING"=>"", "SERVER_PROTOCOL"=>"HTTP/1.1", "SERVER_SOFTWARE"=>"2.16.0", "GATEWAY_INTERFACE"=>"CGI/1.2", "REQUEST_METHOD"=>"GET", "REQUEST_PATH"=>"/rugs", "REQUEST_URI"=>"/rugs", "HTTP_VERSION"=>"HTTP/1.1", "HTTP_HOST"=>"uniqueusa_product-search_1:3000", "HTTP_USER_AGENT"=>"curl/7.43.0", "HTTP_ACCEPT"=>"*/*", "HTTP_ACCEPT_LANGUAGE"=>"en-US,en;q=0.8,el;q=0.6,es;q=0.4", "HTTP_ORIGIN"=>"http://uu.dev", "HTTP_X_FORWARDED_FOR"=>"192.168.99.1", "HTTP_X_FORWARDED_HOST"=>"uniqueusa_product-search_1:3000", "HTTP_X_FORWARDED_PROTO"=>"http", "HTTP_ACCEPT_ENCODING"=>"gzip", "SERVER_NAME"=>"uniqueusa_product-search_1", "SERVER_PORT"=>"3000", "PATH_INFO"=>"/rugs", "REMOTE_ADDR"=>"172.19.0.14", "puma.socket"=>#<TCPSocket:fd 19>, "rack.hijack?"=>true, "rack.hijack"=>#<Puma::Client:0x2b0a3ff3af24 @ready=true>, "rack.input"=>#<Puma::NullIO:0x0056147c87bd38>, "rack.url_scheme"=>"http", "rack.after_reply"=>[], "newrelic.transaction_started"=>true, "ORIGINAL_FULLPATH"=>"/rugs", "ORIGINAL_SCRIPT_NAME"=>"", "action_dispatch.routes"=>#<ActionDispatch::Routing::RouteSet:0x0056147c97e3e8>, "action_dispatch.parameter_filter"=>[:password], "action_dispatch.redirect_filter"=>[], "action_dispatch.secret_token"=>nil, "action_dispatch.secret_key_base"=>"1b17b839d108e8718ccc94d70576c1e4fc6cff4bf543f68569582c7bbeac379a41d7e528082f7c8b03a2a4187e6f270c53668d01fc79c45070156f1417a016e2", "action_dispatch.show_exceptions"=>true, "action_dispatch.show_detailed_exceptions"=>true, "action_dispatch.logger"=>#<Logger:0x0056147e3dddd8 @progname=nil, @level=0, @default_formatter=#<Logger::Formatter:0x0056147e3dddb0 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x0056147e3ddd60 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<IO:<STDOUT>>, @mutex=#<Logger::LogDevice::LogDeviceMutex:0x0056147e3ddd10 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Mutex:0x0056147e3ddcc0>>>>, "action_dispatch.backtrace_cleaner"=>#<Rails::BacktraceCleaner:0x0056147ff23ea8 @filters=[#<Proc:0x0056147ff23d40@/usr/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/backtrace_cleaner.rb:14>, #<Proc:0x0056147ff23d18@/usr/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/backtrace_cleaner.rb:15>, #<Proc:0x0056147ff23cf0@/usr/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/backtrace_cleaner.rb:16>, #<Proc:0x0056147ff23930@/usr/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/backtrace_cleaner.rb:29>], @silencers=[#<Proc:0x0056147ff23908@/usr/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/backtrace_cleaner.rb:19>], @root="/app/">, "action_dispatch.key_generator"=>#<ActiveSupport::CachingKeyGenerator:0x0056147ff237a0 @key_generator=#<ActiveSupport::KeyGenerator:0x0056147ff237c8 @secret="1b17b839d108e8718ccc94d70576c1e4fc6cff4bf543f68569582c7bbeac379a41d7e528082f7c8b03a2a4187e6f270c53668d01fc79c45070156f1417a016e2", @iterations=1000>, @cache_keys=#<ThreadSafe::Cache:0x0056147ff23778 @backend={}, @default_proc=nil>>, "action_dispatch.http_auth_salt"=>"http authentication", "action_dispatch.signed_cookie_salt"=>"signed cookie", "action_dispatch.encrypted_cookie_salt"=>"encrypted cookie", "action_dispatch.encrypted_signed_cookie_salt"=>"signed encrypted cookie", "action_dispatch.cookies_serializer"=>nil, "action_dispatch.cookies_digest"=>nil, "ROUTES_47323009432640_SCRIPT_NAME"=>"", "action_dispatch.request_id"=>"742aa452-c65a-4339-a5b9-cf473954337d", "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::GetIp:0x0056147ff43d48 @env={...}, @check_ip=true, @proxies=[#<IPAddr: IPv4:127.0.0.1/255.255.255.255>, #<IPAddr: IPv6:0000:0000:0000:0000:0000:0000:0000:0001/ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff>, #<IPAddr: IPv6:fc00:0000:0000:0000:0000:0000:0000:0000/fe00:0000:0000:0000:0000:0000:0000:0000>, #<IPAddr: IPv4:10.0.0.0/255.0.0.0>, #<IPAddr: IPv4:172.16.0.0/255.240.0.0>, #<IPAddr: IPv4:192.168.0.0/255.255.0.0>]>, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "committee.params"=>{}, "action_dispatch.request.path_parameters"=>{:controller=>"products", :action=>"index", :product_type=>"rugs"}, "ROUTES_47322994831860_SCRIPT_NAME"=>"", "action_controller.instance"=>#<ProductsController:0x0056147e2b7940 @_routes=nil, @_headers={"Content-Type"=>"text/html"}, @_status=200, @_request=#<ActionDispatch::Request:0x0056147e2b7800 @env={...}, @filtered_parameters={"controller"=>"products", "action"=>"index", "product_type"=>"rugs"}, @filtered_env=nil, @filtered_path=nil, @protocol=nil, @port=nil, @method=nil, @request_method="GET", @remote_ip=nil, @original_fullpath=nil, @fullpath="/rugs", @ip=nil, @uuid=nil>, @_response=#<ActionDispatch::Response:0x0056147e2b77d8 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Mutex:0x0056147e2b7710>, @stream=#<ActionDispatch::Response::Buffer:0x0056147e2b7670 @response=#<ActionDispatch::Response:0x0056147e2b77d8 ...>, @buf=[], @closed=false>, @header={"X-Frame-Options"=>"SAMEORIGIN", "X-XSS-Protection"=>"1; mode=block", "X-Content-Type-Options"=>"nosniff"}, @status=200, @sending_file=false, @blank=false, @cv=#<MonitorMixin::ConditionVariable:0x0056147e2b7648 @monitor=#<ActionDispatch::Response:0x0056147e2b77d8 ...>, @cond=#<Thread::ConditionVariable:0x0056147e2b7620>>, @committed=false, @sending=false, @sent=false, @content_type=nil, @charset=nil, @cache_control={}, @etag=nil, @request=#<ActionDispatch::Request:0x0056147e2b7800 @env={...}, @filtered_parameters={"controller"=>"products", "action"=>"index", "product_type"=>"rugs"}, @filtered_env=nil, @filtered_path=nil, @protocol=nil, @port=nil, @method=nil, @request_method="GET", @remote_ip=nil, @original_fullpath=nil, @fullpath="/rugs", @ip=nil, @uuid=nil>>, @_env={...}, @_lookup_context=#<ActionView::LookupContext:0x0056147e2b6310 @details_key=nil, @details={:locale=>[:en], :formats=>[:html, :text, :js, :css, :ics, :csv, :vcf, :png, :jpeg, :gif, :bmp, :tiff, :mpeg, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}, @skip_default_locale=false, @cache=true, @prefixes=["products", "application", "uu/api/application"], @rendered_format=nil, @view_paths=#<ActionView::PathSet:0x0056147e2b6298 @paths=[#<ActionView::OptimizedFileSystemResolver:0x0056147e555850 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x0056147e555828 @data=#<ActionView::Resolver::Cache::SmallCache:0x0056147e555800 @backend={}, @default_proc=#<Proc:0x0056147cb60940@/usr/lib/ruby/gems/2.2.0/gems/actionview-4.2.4/lib/action_view/template/resolver.rb:49 (lambda)>>>, @path="/usr/lib/ruby/gems/2.2.0/gems/kaminari-0.16.3/app/views">]>>, @_action_name="index", @_response_body=nil>, "action_dispatch.request.content_type"=>nil, "action_dispatch.request.request_parameters"=>{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"controller"=>"products", "action"=>"index", "product_type"=>"rugs"}, "action_dispatch.request.accepts"=>[#<Mime::Type:0x0056147e2b4358 @synonyms=[], @symbol=nil, @string="*/*">], "action_dispatch.request.formats"=>[#<Mime::Type:0x0056147e2b4358 @synonyms=[], @symbol=nil, @string="*/*">]}>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment