Created
October 15, 2013 17:06
-
-
Save goldnuggets24/6994976 to your computer and use it in GitHub Desktop.
gist of request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [5] pry(#<CardSignupsController>)> request | |
| => #<ActionDispatch::Request:0x007fd4f121a250 | |
| @env= | |
| {"GATEWAY_INTERFACE"=>"CGI/1.1", | |
| "PATH_INFO"=>"/card_signups/go_to_disclaimer", | |
| "QUERY_STRING"=>"", | |
| "REMOTE_ADDR"=>"127.0.0.1", | |
| "REMOTE_HOST"=>"localhost", | |
| "REQUEST_METHOD"=>"GET", | |
| "REQUEST_URI"=>"http://localhost:3000/card_signups/go_to_disclaimer", | |
| "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_HOST"=>"localhost:3000", | |
| "HTTP_CONNECTION"=>"keep-alive", | |
| "HTTP_ACCEPT"=>"application/json, text/javascript, */*", | |
| "HTTP_X_REQUESTED_WITH"=>"XMLHttpRequest", | |
| "HTTP_USER_AGENT"=> | |
| "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.69 Safari/537.3 | |
| "HTTP_REFERER"=>"http://localhost:3000/card_signups", | |
| "HTTP_ACCEPT_ENCODING"=>"gzip,deflate,sdch", | |
| "HTTP_ACCEPT_LANGUAGE"=>"en-US,en;q=0.8", | |
| "HTTP_COOKIE"=> | |
| "user_credentials=1699fb275f0cdaf8cb15a840edef365567804397e7a86a820615ef8e5bcf43c3733c246a2ebdcc8f2c0c5762c54b6453bd4e5 | |
| "rack.version"=>[1, 1], | |
| "rack.input"=>#<StringIO:0x007fd4f124d3f8>, | |
| "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"=>"/card_signups/go_to_disclaimer", | |
| "ORIGINAL_FULLPATH"=>"/card_signups/go_to_disclaimer", | |
| "action_dispatch.routes"=> | |
| #<ActionDispatch::Routing::RouteSet:0x007fd4ecee34f0>, | |
| "action_dispatch.parameter_filter"=>[:password, :password_confirmation], | |
| "action_dispatch.secret_token"=> | |
| "275fb1b5208ec3b6852b73efa2d97514e066db3ebab3cef4a3a073880f56ea79259fcd14701cbd71e97f647aebbf35a32906a080a70645ee168eff | |
| "action_dispatch.show_exceptions"=>true, | |
| "action_dispatch.show_detailed_exceptions"=>true, | |
| "action_dispatch.logger"=> | |
| #<ActiveSupport::TaggedLogging:0x007fd4ee728740 | |
| @logger= | |
| #<ActiveSupport::BufferedLogger:0x007fd4ee727ca0 | |
| @log= | |
| #<Logger:0x007fd4ee727e80 | |
| @default_formatter= | |
| #<Logger::Formatter:0x007fd4ee727fc0 @datetime_format=nil>, | |
| @formatter= | |
| #<Logger::SimpleFormatter:0x007fd4ee7286a0 @datetime_format=nil>, | |
| @level=0, | |
| @logdev= | |
| #<Logger::LogDevice:0x007fd4ee7283a8 | |
| @dev=#<File:/Users/mikelevine/Sites/hq_channel/log/development.log>, | |
| @filename=nil, | |
| @mutex= | |
| #<Logger::LogDevice::LogDeviceMutex:0x007fd4ee7283d0 | |
| @mon_count=0, | |
| @mon_mutex=#<Mutex:0x007fd4ee728448>, | |
| @mon_owner=nil>, | |
| @shift_age=nil, | |
| @shift_size=nil>, | |
| @progname=nil>, | |
| @log_dest= | |
| #<File:/Users/mikelevine/Sites/hq_channel/log/development.log>>>, | |
| "action_dispatch.backtrace_cleaner"=> | |
| #<Rails::BacktraceCleaner:0x007fd4f1e9c190 | |
| @filters= | |
| [#<Proc:0x007fd4f1e9bec0@/Users/mikelevine/.rvm/gems/ruby-1.9.2-p320@hq_channel/gems/railties-3.2.11/lib/rails/backtr | |
| #<Proc:0x007fd4f1e9be48@/Users/mikelevine/.rvm/gems/ruby-1.9.2-p320@hq_channel/gems/railties-3.2.11/lib/rails/backtr | |
| #<Proc:0x007fd4f1e9bce0@/Users/mikelevine/.rvm/gems/ruby-1.9.2-p320@hq_channel/gems/railties-3.2.11/lib/rails/backtr | |
| #<Proc:0x007fd4f1e9afc0@/Users/mikelevine/.rvm/gems/ruby-1.9.2-p320@hq_channel/gems/railties-3.2.11/lib/rails/backtr | |
| @silencers= | |
| [#<Proc:0x007fd4f1e9af70@/Users/mikelevine/.rvm/gems/ruby-1.9.2-p320@hq_channel/gems/railties-3.2.11/lib/rails/backtr | |
| "action_dispatch.request_id"=>"326a24771aee7b9fa3d80787e4e708ce", | |
| "action_dispatch.remote_ip"=>127.0.0.1, | |
| "rack.session"=> | |
| {"_csrf_token"=>"2UzX97QcpwTQ9SEM6B8DbYzlQv3CY2F9JdhVu6tYgjs=", | |
| "session_id"=>"622d4dd2987a0ed5d99f3f9237275ade", | |
| "return_to"=>"/card_signups", | |
| "user_credentials"=> | |
| "1699fb275f0cdaf8cb15a840edef365567804397e7a86a820615ef8e5bcf43c3733c246a2ebdcc8f2c0c5762c54b6453bd4e5f162ef80a01d703 | |
| "user_credentials_id"=>1673}, | |
| "rack.session.options"=> | |
| {:path=>"/", | |
| :domain=>nil, | |
| :expire_after=>nil, | |
| :secure=>false, | |
| :httponly=>true, | |
| :defer=>false, | |
| :renew=>false, | |
| :secret=>"dcdb8fb659b35f0d02c5718ac7be2abf9838112bd1b3a2904a53c58e6016", | |
| :coder=>#<Rack::Session::Cookie::Base64::Marshal:0x007fd4ecd53680>, | |
| :id=>"622d4dd2987a0ed5d99f3f9237275ade"}, | |
| "rack.request.cookie_hash"=> | |
| {"user_credentials"=> | |
| "1699fb275f0cdaf8cb15a840edef365567804397e7a86a820615ef8e5bcf43c3733c246a2ebdcc8f2c0c5762c54b6453bd4e5f162ef80a01d703 | |
| "_hq_channel_session"=> | |
| "BAh7CkkiEF9jc3JmX3Rva2VuBjoGRUZJIjEyVXpYOTdRY3B3VFE5U0VNNkI4RGJZemxRdjNDWTJGOUpkaFZ1NnRZZ2pzPQY7AEZJIg9zZXNzaW9uX2lk | |
| "rack.request.cookie_string"=> | |
| "user_credentials=1699fb275f0cdaf8cb15a840edef365567804397e7a86a820615ef8e5bcf43c3733c246a2ebdcc8f2c0c5762c54b6453bd4e5 | |
| "action_dispatch.cookies"=> | |
| #<ActionDispatch::Cookies::CookieJar:0x007fd4f121f2a0 | |
| @closed=false, | |
| @cookies= | |
| {"user_credentials"=> | |
| "1699fb275f0cdaf8cb15a840edef365567804397e7a86a820615ef8e5bcf43c3733c246a2ebdcc8f2c0c5762c54b6453bd4e5f162ef80a01d7 | |
| "_hq_channel_session"=> | |
| "BAh7CkkiEF9jc3JmX3Rva2VuBjoGRUZJIjEyVXpYOTdRY3B3VFE5U0VNNkI4RGJZemxRdjNDWTJGOUpkaFZ1NnRZZ2pzPQY7AEZJIg9zZXNzaW9uX2 | |
| @delete_cookies={}, | |
| @host="localhost", | |
| @secret= | |
| "275fb1b5208ec3b6852b73efa2d97514e066db3ebab3cef4a3a073880f56ea79259fcd14701cbd71e97f647aebbf35a32906a080a70645ee168e | |
| @secure=false, | |
| @set_cookies={}, | |
| @signed= | |
| #<ActionDispatch::Cookies::SignedCookieJar:0x007fd4f121dea0 | |
| @parent_jar=#<ActionDispatch::Cookies::CookieJar:0x007fd4f121f2a0 ...>, | |
| @verifier= | |
| #<ActiveSupport::MessageVerifier:0x007fd4f121de28 | |
| @digest="SHA1", | |
| @secret= | |
| "275fb1b5208ec3b6852b73efa2d97514e066db3ebab3cef4a3a073880f56ea79259fcd14701cbd71e97f647aebbf35a32906a080a70645ee | |
| @serializer=Marshal>>>, | |
| "action_dispatch.request.unsigned_session_cookie"=> | |
| {"_csrf_token"=>"2UzX97QcpwTQ9SEM6B8DbYzlQv3CY2F9JdhVu6tYgjs=", | |
| "session_id"=>"622d4dd2987a0ed5d99f3f9237275ade", | |
| "return_to"=>"/card_signups", | |
| "user_credentials"=> | |
| "1699fb275f0cdaf8cb15a840edef365567804397e7a86a820615ef8e5bcf43c3733c246a2ebdcc8f2c0c5762c54b6453bd4e5f162ef80a01d703 | |
| "user_credentials_id"=>1673}, | |
| "action_dispatch.request.path_parameters"=> | |
| {:action=>"go_to_disclaimer", :controller=>"card_signups"}, | |
| "action_controller.instance"=> | |
| #<CardSignupsController:0x007fd4f121a4d0 | |
| @_action_has_layout=true, | |
| @_action_name="go_to_disclaimer", | |
| @_env={...}, | |
| @_headers={"Content-Type"=>"text/html"}, | |
| @_lookup_context= | |
| #<ActionView::LookupContext:0x007fd4f1219e40 | |
| @cache=true, | |
| @details= | |
| {:locale=>[:en], | |
| :formats=> | |
| [:json, | |
| :js, | |
| :html, | |
| :text, | |
| :js, | |
| :css, | |
| :ics, | |
| :csv, | |
| :png, | |
| :jpeg, | |
| :gif, | |
| :bmp, | |
| :tiff, | |
| :mpeg, | |
| :xml, | |
| :rss, | |
| :atom, | |
| :yaml, | |
| :multipart_form, | |
| :url_encoded_form, | |
| :json, | |
| :pdf, | |
| :zip], | |
| :handlers=> | |
| [:erb, :builder, :coffee, :haml, :prawn, :prawn_dsl, :prawn_xxx]}, | |
| @details_key=nil, | |
| @prefixes=["card_signups", "application"], | |
| @rendered_format=nil, | |
| @skip_default_locale=false, | |
| @view_paths= | |
| #<ActionView::PathSet:0x007fd4f1219da0 | |
| @paths= | |
| [/Users/mikelevine/Sites/hq_channel/app/views, | |
| /Users/mikelevine/.rvm/gems/ruby-1.9.2-p320@hq_channel/gems/ckeditor-3.7.3/app/views]>>, | |
| @_params={"action"=>"go_to_disclaimer", "controller"=>"card_signups"}, | |
| @_prefixes=["card_signups", "application"], | |
| @_request=#<ActionDispatch::Request:0x007fd4f121a250 ...>, | |
| @_response= | |
| #<ActionDispatch::Response:0x007fd4f121a228 | |
| @blank=false, | |
| @body=[], | |
| @cache_control={}, | |
| @etag=nil, | |
| @header= | |
| {"Cache-Control"=>"no-cache, no-store, max-age=0, must-revalidate", | |
| "Pragma"=>"no-cache", | |
| "Expires"=>"Fri, 01 Jan 1990 00:00:00 GMT"}, | |
| @request=#<ActionDispatch::Request:0x007fd4f121a250 ...>, | |
| @sending_file=false, | |
| @status=200>, | |
| @_response_body=nil, | |
| @_routes=nil, | |
| @_status=200, | |
| @card_signup= | |
| #<CardSignup id: nil, first_name: nil, last_name: nil, street_address_1: nil, street_address_2: nil, city: nil, state | |
| @current_user= | |
| #<User id: 1673, first_name: "sdkgjdfg", last_name: "dfklgjdf;gjd", email: "[email protected]", crypted_password: "7ab1 | |
| @current_user_session= | |
| #<UserSession: {:unauthorized_record=>"<protected>"}>>, | |
| "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"=> | |
| {"action"=>"go_to_disclaimer", "controller"=>"card_signups"}, | |
| "action_dispatch.request.accepts"=>[application/json, text/javascript, */*], | |
| "action_dispatch.request.formats"=> | |
| [application/json, text/javascript, */*]}, | |
| @filtered_parameters= | |
| {"action"=>"go_to_disclaimer", "controller"=>"card_signups"}, | |
| @fullpath="/card_signups/go_to_disclaimer", | |
| @method="GET"> | |
| (END) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment