Created
February 6, 2011 16:52
-
-
Save cbmeeks/813503 to your computer and use it in GitHub Desktop.
Likes
This file contains 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
class LikesController < ApplicationController | |
before_filter :get_ids | |
respond_to :json, :js | |
def videolink | |
results = {} | |
# check to see if the user has liked this videolink before | |
if current_user | |
liked = Like.video?(current_user, @vid_id) | |
results["status"] = "OK" | |
results["liked"] = liked | |
else | |
results["status"] = "Error" | |
results["message"] = "User not logged in" | |
end | |
respond_with( results.to_json ) | |
end | |
def update | |
results = {} | |
if current_user | |
results["status"] = "OK" | |
else | |
results["status"] = "Error" | |
results["message"] = "User not logged in" | |
end | |
respond_with( results.to_json ) | |
end | |
private | |
def get_ids | |
@vid_id = params[:videolink_id] | |
end | |
end |
This file contains 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
resources :likes do | |
collection do | |
get "videolink" | |
end | |
member do | |
post :update | |
end | |
end |
This file contains 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
$("#likeVideo").click(function() { | |
$.ajax({ | |
contentType: "application/json", | |
data: { game_id: game_id, videolink_id: current_video["videolink"]["id"] }, | |
dataType: "json", | |
type: "POST", | |
url: "/likes/" + game_id, | |
success: function(data) { | |
console.log("Success", data); | |
} | |
}); | |
return false; | |
}); |
This file contains 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
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>Action Controller: Exception caught</title> | |
<style> | |
body { background-color: #fff; color: #333; } | |
body, p, ol, ul, td { | |
font-family: verdana, arial, helvetica, sans-serif; | |
font-size: 13px; | |
line-height: 18px; | |
} | |
pre { | |
background-color: #eee; | |
padding: 10px; | |
font-size: 11px; | |
} | |
a { color: #000; } | |
a:visited { color: #666; } | |
a:hover { color: #fff; background-color:#000; } | |
</style> | |
</head> | |
<body> | |
<h1> | |
NoMethodError | |
in LikesController#update | |
</h1> | |
<pre>undefined method `{"status":"OK"}_url' for #<LikesController:0x0000010178be58></pre> | |
<p><code>Rails.root: /Users/cbmeeks/Projects/channelgameroom</code></p> | |
<div id="traces"> | |
<a href="#" onclick="document.getElementById('Framework-Trace').style.display='none';document.getElementById('Full-Trace').style.display='none';document.getElementById('Application-Trace').style.display='block';; return false;">Application Trace</a> | | |
<a href="#" onclick="document.getElementById('Application-Trace').style.display='none';document.getElementById('Full-Trace').style.display='none';document.getElementById('Framework-Trace').style.display='block';; return false;">Framework Trace</a> | | |
<a href="#" onclick="document.getElementById('Application-Trace').style.display='none';document.getElementById('Framework-Trace').style.display='none';document.getElementById('Full-Trace').style.display='block';; return false;">Full Trace</a> | |
<div id="Application-Trace" style="display: block;"> | |
<pre><code>app/controllers/likes_controller.rb:35:in `update'</code></pre> | |
</div> | |
<div id="Framework-Trace" style="display: none;"> | |
<pre><code>actionpack (3.0.1) lib/action_dispatch/routing/polymorphic_routes.rb:114:in `polymorphic_url' | |
actionpack (3.0.1) lib/action_dispatch/routing/url_for.rb:134:in `url_for' | |
actionpack (3.0.1) lib/action_controller/metal/rendering.rb:50:in `_process_options' | |
actionpack (3.0.1) lib/action_controller/metal/renderers.rb:31:in `_handle_render_options' | |
actionpack (3.0.1) lib/action_controller/metal/renderers.rb:47:in `render_to_body' | |
actionpack (3.0.1) lib/action_controller/metal/compatibility.rb:55:in `render_to_body' | |
actionpack (3.0.1) lib/abstract_controller/rendering.rb:101:in `render_to_string' | |
actionpack (3.0.1) lib/abstract_controller/rendering.rb:92:in `render' | |
actionpack (3.0.1) lib/action_controller/metal/rendering.rb:17:in `render' | |
actionpack (3.0.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' | |
activesupport (3.0.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' | |
/Users/cbmeeks/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/benchmark.rb:309:in `realtime' | |
activesupport (3.0.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' | |
actionpack (3.0.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' | |
actionpack (3.0.1) lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime' | |
activerecord (3.0.1) lib/active_record/railties/controller_runtime.rb:15:in `cleanup_view_runtime' | |
actionpack (3.0.1) lib/action_controller/metal/instrumentation.rb:39:in `render' | |
actionpack (3.0.1) lib/action_controller/metal/responder.rb:209:in `display' | |
actionpack (3.0.1) lib/action_controller/metal/responder.rb:163:in `api_behavior' | |
actionpack (3.0.1) lib/action_controller/metal/responder.rb:138:in `rescue in to_format' | |
actionpack (3.0.1) lib/action_controller/metal/responder.rb:136:in `to_format' | |
actionpack (3.0.1) lib/action_controller/metal/responder.rb:119:in `respond' | |
actionpack (3.0.1) lib/action_controller/metal/responder.rb:112:in `call' | |
actionpack (3.0.1) lib/action_controller/metal/mime_responds.rb:232:in `respond_with' | |
actionpack (3.0.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' | |
actionpack (3.0.1) lib/abstract_controller/base.rb:150:in `process_action' | |
actionpack (3.0.1) lib/action_controller/metal/rendering.rb:11:in `process_action' | |
actionpack (3.0.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' | |
activesupport (3.0.1) lib/active_support/callbacks.rb:440:in `_run__2698239194610311702__process_action__1280683513696179863__callbacks' | |
activesupport (3.0.1) lib/active_support/callbacks.rb:409:in `_run_process_action_callbacks' | |
activesupport (3.0.1) lib/active_support/callbacks.rb:93:in `run_callbacks' | |
actionpack (3.0.1) lib/abstract_controller/callbacks.rb:17:in `process_action' | |
actionpack (3.0.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' | |
activesupport (3.0.1) lib/active_support/notifications.rb:52:in `block in instrument' | |
activesupport (3.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument' | |
activesupport (3.0.1) lib/active_support/notifications.rb:52:in `instrument' | |
actionpack (3.0.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' | |
actionpack (3.0.1) lib/action_controller/metal/rescue.rb:17:in `process_action' | |
actionpack (3.0.1) lib/abstract_controller/base.rb:119:in `process' | |
actionpack (3.0.1) lib/abstract_controller/rendering.rb:40:in `process' | |
actionpack (3.0.1) lib/action_controller/metal.rb:133:in `dispatch' | |
actionpack (3.0.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' | |
actionpack (3.0.1) lib/action_controller/metal.rb:173:in `block in action' | |
actionpack (3.0.1) lib/action_dispatch/routing/route_set.rb:62:in `call' | |
actionpack (3.0.1) lib/action_dispatch/routing/route_set.rb:62:in `dispatch' | |
actionpack (3.0.1) lib/action_dispatch/routing/route_set.rb:27:in `call' | |
rack-mount (0.6.13) lib/rack/mount/route_set.rb:148:in `block in call' | |
rack-mount (0.6.13) lib/rack/mount/code_generation.rb:93:in `block in recognize' | |
rack-mount (0.6.13) lib/rack/mount/code_generation.rb:75:in `optimized_each' | |
rack-mount (0.6.13) lib/rack/mount/code_generation.rb:92:in `recognize' | |
rack-mount (0.6.13) lib/rack/mount/route_set.rb:139:in `call' | |
actionpack (3.0.1) lib/action_dispatch/routing/route_set.rb:492:in `call' | |
oa-core (0.1.6) lib/omniauth/strategy.rb:50:in `call_app!' | |
oa-core (0.1.6) lib/omniauth/strategy.rb:32:in `call!' | |
oa-core (0.1.6) lib/omniauth/strategy.rb:19:in `call' | |
oa-core (0.1.6) lib/omniauth/strategy.rb:50:in `call_app!' | |
oa-core (0.1.6) lib/omniauth/strategy.rb:32:in `call!' | |
oa-core (0.1.6) lib/omniauth/strategy.rb:19:in `call' | |
oa-core (0.1.6) lib/omniauth/builder.rb:30:in `call' | |
actionpack (3.0.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' | |
actionpack (3.0.1) lib/action_dispatch/middleware/head.rb:14:in `call' | |
rack (1.2.1) lib/rack/methodoverride.rb:24:in `call' | |
actionpack (3.0.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' | |
actionpack (3.0.1) lib/action_dispatch/middleware/flash.rb:182:in `call' | |
actionpack (3.0.1) lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call' | |
actionpack (3.0.1) lib/action_dispatch/middleware/cookies.rb:287:in `call' | |
activerecord (3.0.1) lib/active_record/query_cache.rb:32:in `block in call' | |
activerecord (3.0.1) lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache' | |
activerecord (3.0.1) lib/active_record/query_cache.rb:12:in `cache' | |
activerecord (3.0.1) lib/active_record/query_cache.rb:31:in `call' | |
activerecord (3.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:355:in `call' | |
actionpack (3.0.1) lib/action_dispatch/middleware/callbacks.rb:46:in `block in call' | |
activesupport (3.0.1) lib/active_support/callbacks.rb:415:in `_run_call_callbacks' | |
actionpack (3.0.1) lib/action_dispatch/middleware/callbacks.rb:44:in `call' | |
rack (1.2.1) lib/rack/sendfile.rb:107:in `call' | |
actionpack (3.0.1) lib/action_dispatch/middleware/remote_ip.rb:48:in `call' | |
actionpack (3.0.1) lib/action_dispatch/middleware/show_exceptions.rb:46:in `call' | |
railties (3.0.1) lib/rails/rack/logger.rb:13:in `call' | |
rack (1.2.1) lib/rack/runtime.rb:17:in `call' | |
activesupport (3.0.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' | |
rack (1.2.1) lib/rack/lock.rb:11:in `block in call' | |
<internal:prelude>:10:in `synchronize' | |
rack (1.2.1) lib/rack/lock.rb:11:in `call' | |
actionpack (3.0.1) lib/action_dispatch/middleware/static.rb:30:in `call' | |
railties (3.0.1) lib/rails/application.rb:168:in `call' | |
railties (3.0.1) lib/rails/application.rb:77:in `method_missing' | |
railties (3.0.1) lib/rails/rack/log_tailer.rb:14:in `call' | |
rack (1.2.1) lib/rack/content_length.rb:13:in `call' | |
rack (1.2.1) lib/rack/handler/webrick.rb:52:in `service' | |
/Users/cbmeeks/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service' | |
/Users/cbmeeks/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run' | |
/Users/cbmeeks/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'</code></pre> | |
</div> | |
<div id="Full-Trace" style="display: none;"> | |
<pre><code>actionpack (3.0.1) lib/action_dispatch/routing/polymorphic_routes.rb:114:in `polymorphic_url' | |
actionpack (3.0.1) lib/action_dispatch/routing/url_for.rb:134:in `url_for' | |
actionpack (3.0.1) lib/action_controller/metal/rendering.rb:50:in `_process_options' | |
actionpack (3.0.1) lib/action_controller/metal/renderers.rb:31:in `_handle_render_options' | |
actionpack (3.0.1) lib/action_controller/metal/renderers.rb:47:in `render_to_body' | |
actionpack (3.0.1) lib/action_controller/metal/compatibility.rb:55:in `render_to_body' | |
actionpack (3.0.1) lib/abstract_controller/rendering.rb:101:in `render_to_string' | |
actionpack (3.0.1) lib/abstract_controller/rendering.rb:92:in `render' | |
actionpack (3.0.1) lib/action_controller/metal/rendering.rb:17:in `render' | |
actionpack (3.0.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' | |
activesupport (3.0.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' | |
/Users/cbmeeks/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/benchmark.rb:309:in `realtime' | |
activesupport (3.0.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' | |
actionpack (3.0.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' | |
actionpack (3.0.1) lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime' | |
activerecord (3.0.1) lib/active_record/railties/controller_runtime.rb:15:in `cleanup_view_runtime' | |
actionpack (3.0.1) lib/action_controller/metal/instrumentation.rb:39:in `render' | |
actionpack (3.0.1) lib/action_controller/metal/responder.rb:209:in `display' | |
actionpack (3.0.1) lib/action_controller/metal/responder.rb:163:in `api_behavior' | |
actionpack (3.0.1) lib/action_controller/metal/responder.rb:138:in `rescue in to_format' | |
actionpack (3.0.1) lib/action_controller/metal/responder.rb:136:in `to_format' | |
actionpack (3.0.1) lib/action_controller/metal/responder.rb:119:in `respond' | |
actionpack (3.0.1) lib/action_controller/metal/responder.rb:112:in `call' | |
actionpack (3.0.1) lib/action_controller/metal/mime_responds.rb:232:in `respond_with' | |
app/controllers/likes_controller.rb:35:in `update' | |
actionpack (3.0.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' | |
actionpack (3.0.1) lib/abstract_controller/base.rb:150:in `process_action' | |
actionpack (3.0.1) lib/action_controller/metal/rendering.rb:11:in `process_action' | |
actionpack (3.0.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' | |
activesupport (3.0.1) lib/active_support/callbacks.rb:440:in `_run__2698239194610311702__process_action__1280683513696179863__callbacks' | |
activesupport (3.0.1) lib/active_support/callbacks.rb:409:in `_run_process_action_callbacks' | |
activesupport (3.0.1) lib/active_support/callbacks.rb:93:in `run_callbacks' | |
actionpack (3.0.1) lib/abstract_controller/callbacks.rb:17:in `process_action' | |
actionpack (3.0.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' | |
activesupport (3.0.1) lib/active_support/notifications.rb:52:in `block in instrument' | |
activesupport (3.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument' | |
activesupport (3.0.1) lib/active_support/notifications.rb:52:in `instrument' | |
actionpack (3.0.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' | |
actionpack (3.0.1) lib/action_controller/metal/rescue.rb:17:in `process_action' | |
actionpack (3.0.1) lib/abstract_controller/base.rb:119:in `process' | |
actionpack (3.0.1) lib/abstract_controller/rendering.rb:40:in `process' | |
actionpack (3.0.1) lib/action_controller/metal.rb:133:in `dispatch' | |
actionpack (3.0.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' | |
actionpack (3.0.1) lib/action_controller/metal.rb:173:in `block in action' | |
actionpack (3.0.1) lib/action_dispatch/routing/route_set.rb:62:in `call' | |
actionpack (3.0.1) lib/action_dispatch/routing/route_set.rb:62:in `dispatch' | |
actionpack (3.0.1) lib/action_dispatch/routing/route_set.rb:27:in `call' | |
rack-mount (0.6.13) lib/rack/mount/route_set.rb:148:in `block in call' | |
rack-mount (0.6.13) lib/rack/mount/code_generation.rb:93:in `block in recognize' | |
rack-mount (0.6.13) lib/rack/mount/code_generation.rb:75:in `optimized_each' | |
rack-mount (0.6.13) lib/rack/mount/code_generation.rb:92:in `recognize' | |
rack-mount (0.6.13) lib/rack/mount/route_set.rb:139:in `call' | |
actionpack (3.0.1) lib/action_dispatch/routing/route_set.rb:492:in `call' | |
oa-core (0.1.6) lib/omniauth/strategy.rb:50:in `call_app!' | |
oa-core (0.1.6) lib/omniauth/strategy.rb:32:in `call!' | |
oa-core (0.1.6) lib/omniauth/strategy.rb:19:in `call' | |
oa-core (0.1.6) lib/omniauth/strategy.rb:50:in `call_app!' | |
oa-core (0.1.6) lib/omniauth/strategy.rb:32:in `call!' | |
oa-core (0.1.6) lib/omniauth/strategy.rb:19:in `call' | |
oa-core (0.1.6) lib/omniauth/builder.rb:30:in `call' | |
actionpack (3.0.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' | |
actionpack (3.0.1) lib/action_dispatch/middleware/head.rb:14:in `call' | |
rack (1.2.1) lib/rack/methodoverride.rb:24:in `call' | |
actionpack (3.0.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' | |
actionpack (3.0.1) lib/action_dispatch/middleware/flash.rb:182:in `call' | |
actionpack (3.0.1) lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call' | |
actionpack (3.0.1) lib/action_dispatch/middleware/cookies.rb:287:in `call' | |
activerecord (3.0.1) lib/active_record/query_cache.rb:32:in `block in call' | |
activerecord (3.0.1) lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache' | |
activerecord (3.0.1) lib/active_record/query_cache.rb:12:in `cache' | |
activerecord (3.0.1) lib/active_record/query_cache.rb:31:in `call' | |
activerecord (3.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:355:in `call' | |
actionpack (3.0.1) lib/action_dispatch/middleware/callbacks.rb:46:in `block in call' | |
activesupport (3.0.1) lib/active_support/callbacks.rb:415:in `_run_call_callbacks' | |
actionpack (3.0.1) lib/action_dispatch/middleware/callbacks.rb:44:in `call' | |
rack (1.2.1) lib/rack/sendfile.rb:107:in `call' | |
actionpack (3.0.1) lib/action_dispatch/middleware/remote_ip.rb:48:in `call' | |
actionpack (3.0.1) lib/action_dispatch/middleware/show_exceptions.rb:46:in `call' | |
railties (3.0.1) lib/rails/rack/logger.rb:13:in `call' | |
rack (1.2.1) lib/rack/runtime.rb:17:in `call' | |
activesupport (3.0.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' | |
rack (1.2.1) lib/rack/lock.rb:11:in `block in call' | |
<internal:prelude>:10:in `synchronize' | |
rack (1.2.1) lib/rack/lock.rb:11:in `call' | |
actionpack (3.0.1) lib/action_dispatch/middleware/static.rb:30:in `call' | |
railties (3.0.1) lib/rails/application.rb:168:in `call' | |
railties (3.0.1) lib/rails/application.rb:77:in `method_missing' | |
railties (3.0.1) lib/rails/rack/log_tailer.rb:14:in `call' | |
rack (1.2.1) lib/rack/content_length.rb:13:in `call' | |
rack (1.2.1) lib/rack/handler/webrick.rb:52:in `service' | |
/Users/cbmeeks/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service' | |
/Users/cbmeeks/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run' | |
/Users/cbmeeks/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'</code></pre> | |
</div> | |
</div> | |
<h2 style="margin-top: 30px">Request</h2> | |
<p><b>Parameters</b>: <pre>{"_json"=>"game_id=1064&videolink_id=79", | |
"id"=>"1064"}</pre></p> | |
<p><a href="#" onclick="document.getElementById('session_dump').style.display='block'; return false;">Show session dump</a></p> | |
<div id="session_dump" style="display:none"><pre>_csrf_token: "ZBnGNkyeG1YsCi2bXeYaxtRJ/taSY1ZgwXbNhcK7b14=" | |
oauth: {:twitter=>{:callback_confirmed=>true}} | |
session_id: "b8c43db567902febb50a97d36d418b9d" | |
user_id: 1</pre></div> | |
<p><a href="#" onclick="document.getElementById('env_dump').style.display='block'; return false;">Show env dump</a></p> | |
<div id="env_dump" style="display:none"><pre>CONTENT_LENGTH: "28" | |
CONTENT_TYPE: "application/json" | |
GATEWAY_INTERFACE: "CGI/1.1" | |
HTTP_ACCEPT: "application/json, text/javascript, */*; q=0.01" | |
HTTP_ACCEPT_CHARSET: "ISO-8859-1,utf-8;q=0.7,*;q=0.3" | |
HTTP_ACCEPT_ENCODING: "gzip,deflate,sdch" | |
HTTP_ACCEPT_LANGUAGE: "en-US,en;q=0.8" | |
HTTP_CONNECTION: "keep-alive" | |
HTTP_COOKIE: "_channelgameroom_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlYjhjNDNkYjU2NzkwMmZlYmI1MGE5N2QzNmQ0MThiOWRJIhBfY3NyZl90b2tlbgY7AEZJIjFaQm5HTmt5ZUcxWXNDaTJiWGVZYXh0UkovdGFTWTFaZ3dYYk5oY0s3YjE0PQY7AEZJIgpvYXV0aAY7AEZ7BjoMdHdpdHRlcnsGOhdjYWxsYmFja19jb25maXJtZWRUSSIMdXNlcl9pZAY7AEZpBg%3D%3D--f7f3d7a1785a35812213712a842910f70cea3590" | |
HTTP_HOST: "channelgameroom.local:3000" | |
HTTP_ORIGIN: "http://channelgameroom.local:3000" | |
HTTP_REFERER: "http://channelgameroom.local:3000/games/1064-contra-nes" | |
HTTP_USER_AGENT: "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10" | |
HTTP_VERSION: "HTTP/1.1" | |
HTTP_X_REQUESTED_WITH: "XMLHttpRequest" | |
PATH_INFO: "/likes/1064" | |
QUERY_STRING: "" | |
REMOTE_ADDR: "127.0.0.1" | |
REMOTE_HOST: "flocktravel.local" | |
REQUEST_METHOD: "POST" | |
REQUEST_PATH: "/" | |
REQUEST_URI: "http://channelgameroom.local:3000/likes/1064" | |
SCRIPT_NAME: "" | |
SERVER_NAME: "channelgameroom.local" | |
SERVER_PORT: "3000" | |
SERVER_PROTOCOL: "HTTP/1.1" | |
SERVER_SOFTWARE: "WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)" | |
action_controller.instance: #<LikesController:0x0000010178be58 @action_has_layout=true, @view_context_class=nil, @_headers={"Content-Type"=>"text/html"}, @_status=200, @_response=#<ActionDispatch::Response:0x0000010178a468 @writer=#<Proc:0x00000101789d60@/Users/cbmeeks/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.1/lib/action_dispatch/http/response.rb:44 (lambda)>, @block=nil, @length=0, @header={}, @status=201, @body=[], @cookie=[], @sending_file=false, @blank=false, @cache_control={}, @etag=nil, @request=#<ActionDispatch::Request:0x0000010178a4b8 @env={"CONTENT_LENGTH"=>"28", "CONTENT_TYPE"=>"application/json", "GATEWAY_INTERFACE"=>"CGI/1.1", "PATH_INFO"=>"/likes/1064", "QUERY_STRING"=>"", "REMOTE_ADDR"=>"127.0.0.1", "REMOTE_HOST"=>"flocktravel.local", "REQUEST_METHOD"=>"POST", "REQUEST_URI"=>"http://channelgameroom.local:3000/likes/1064", "SCRIPT_NAME"=>"", "SERVER_NAME"=>"channelgameroom.local", "SERVER_PORT"=>"3000", "SERVER_PROTOCOL"=>"HTTP/1.1", "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)", "HTTP_HOST"=>"channelgameroom.local:3000", "HTTP_CONNECTION"=>"keep-alive", "HTTP_REFERER"=>"http://channelgameroom.local:3000/games/1064-contra-nes", "HTTP_ORIGIN"=>"http://channelgameroom.local:3000", "HTTP_X_REQUESTED_WITH"=>"XMLHttpRequest", "HTTP_ACCEPT"=>"application/json, text/javascript, */*; q=0.01", "HTTP_USER_AGENT"=>"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10", "HTTP_ACCEPT_ENCODING"=>"gzip,deflate,sdch", "HTTP_ACCEPT_LANGUAGE"=>"en-US,en;q=0.8", "HTTP_ACCEPT_CHARSET"=>"ISO-8859-1,utf-8;q=0.7,*;q=0.3", "HTTP_COOKIE"=>"_channelgameroom_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlYjhjNDNkYjU2NzkwMmZlYmI1MGE5N2QzNmQ0MThiOWRJIhBfY3NyZl90b2tlbgY7AEZJIjFaQm5HTmt5ZUcxWXNDaTJiWGVZYXh0UkovdGFTWTFaZ3dYYk5oY0s3YjE0PQY7AEZJIgpvYXV0aAY7AEZ7BjoMdHdpdHRlcnsGOhdjYWxsYmFja19jb25maXJtZWRUSSIMdXNlcl9pZAY7AEZpBg%3D%3D--f7f3d7a1785a35812213712a842910f70cea3590", "rack.version"=>[1, 1], "rack.input"=>#<StringIO:0x00000102b5cc98>, "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"=>"04d2233b1f71926fdbbe92e79711ce78eedcda051841d2aaa793a7745100cb70a6c54ce172f8c2bc80408e33a95d72d4c8e52c1de00a5846dca73ad6999bee21", "action_dispatch.remote_ip"=>127.0.0.1, "rack.session"=>{"session_id"=>"b8c43db567902febb50a97d36d418b9d", "_csrf_token"=>"ZBnGNkyeG1YsCi2bXeYaxtRJ/taSY1ZgwXbNhcK7b14=", "oauth"=>{:twitter=>{:callback_confirmed=>true}}, "user_id"=>1}, "rack.session.options"=>{:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :id=>"b8c43db567902febb50a97d36d418b9d"}, "rack.request.cookie_string"=>"_channelgameroom_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlYjhjNDNkYjU2NzkwMmZlYmI1MGE5N2QzNmQ0MThiOWRJIhBfY3NyZl90b2tlbgY7AEZJIjFaQm5HTmt5ZUcxWXNDaTJiWGVZYXh0UkovdGFTWTFaZ3dYYk5oY0s3YjE0PQY7AEZJIgpvYXV0aAY7AEZ7BjoMdHdpdHRlcnsGOhdjYWxsYmFja19jb25maXJtZWRUSSIMdXNlcl9pZAY7AEZpBg%3D%3D--f7f3d7a1785a35812213712a842910f70cea3590", "rack.request.cookie_hash"=>{"_channelgameroom_session"=>"BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlYjhjNDNkYjU2NzkwMmZlYmI1MGE5N2QzNmQ0MThiOWRJIhBfY3NyZl90b2tlbgY7AEZJIjFaQm5HTmt5ZUcxWXNDaTJiWGVZYXh0UkovdGFTWTFaZ3dYYk5oY0s3YjE0PQY7AEZJIgpvYXV0aAY7AEZ7BjoMdHdpdHRlcnsGOhdjYWxsYmFja19jb25maXJtZWRUSSIMdXNlcl9pZAY7AEZpBg==--f7f3d7a1785a35812213712a842910f70cea3590"}, "action_dispatch.cookies"=>{"_channelgameroom_session"=>"BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlYjhjNDNkYjU2NzkwMmZlYmI1MGE5N2QzNmQ0MThiOWRJIhBfY3NyZl90b2tlbgY7AEZJIjFaQm5HTmt5ZUcxWXNDaTJiWGVZYXh0UkovdGFTWTFaZ3dYYk5oY0s3YjE0PQY7AEZJIgpvYXV0aAY7AEZ7BjoMdHdpdHRlcnsGOhdjYWxsYmFja19jb25maXJtZWRUSSIMdXNlcl9pZAY7AEZpBg==--f7f3d7a1785a35812213712a842910f70cea3590"}, "action_dispatch.request.unsigned_session_cookie"=>{"session_id"=>"b8c43db567902febb50a97d36d418b9d", "_csrf_token"=>"ZBnGNkyeG1YsCi2bXeYaxtRJ/taSY1ZgwXbNhcK7b14=", "oauth"=>{:twitter=>{:callback_confirmed=>true}}, "user_id"=>1}, "action_dispatch.request.content_type"=>application/json, "action_dispatch.request.request_parameters"=>{"_json"=>"game_id=1064&videolink_id=79"}, "action_dispatch.request.path_parameters"=>{:action=>"update", :controller=>"likes", :id=>"1064"}, "action_controller.instance"=>#<LikesController:0x0000010178be58 ...>, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"_json"=>"game_id=1064&videolink_id=79", "action"=>"update", "controller"=>"likes", "id"=>"1064"}, "action_dispatch.request.accepts"=>[application/json, text/javascript, */*], "action_dispatch.request.formats"=>[application/json, text/javascript, */*]}, @fullpath="/likes/1064", @filtered_parameters={"_json"=>"game_id=1064&videolink_id=79", "action"=>"update", "controller"=>"likes", "id"=>"1064"}, @request_method="POST", @method="POST">, @content_type="application/json">, @_request=#<ActionDispatch::Request:0x0000010178a4b8 @env={"CONTENT_LENGTH"=>"28", "CONTENT_TYPE"=>"application/json", "GATEWAY_INTERFACE"=>"CGI/1.1", "PATH_INFO"=>"/likes/1064", "QUERY_STRING"=>"", "REMOTE_ADDR"=>"127.0.0.1", "REMOTE_HOST"=>"flocktravel.local", "REQUEST_METHOD"=>"POST", "REQUEST_URI"=>"http://channelgameroom.local:3000/likes/1064", "SCRIPT_NAME"=>"", "SERVER_NAME"=>"channelgameroom.local", "SERVER_PORT"=>"3000", "SERVER_PROTOCOL"=>"HTTP/1.1", "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)", "HTTP_HOST"=>"channelgameroom.local:3000", "HTTP_CONNECTION"=>"keep-alive", "HTTP_REFERER"=>"http://channelgameroom.local:3000/games/1064-contra-nes", "HTTP_ORIGIN"=>"http://channelgameroom.local:3000", "HTTP_X_REQUESTED_WITH"=>"XMLHttpRequest", "HTTP_ACCEPT"=>"application/json, text/javascript, */*; q=0.01", "HTTP_USER_AGENT"=>"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10", "HTTP_ACCEPT_ENCODING"=>"gzip,deflate,sdch", "HTTP_ACCEPT_LANGUAGE"=>"en-US,en;q=0.8", "HTTP_ACCEPT_CHARSET"=>"ISO-8859-1,utf-8;q=0.7,*;q=0.3", "HTTP_COOKIE"=>"_channelgameroom_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlYjhjNDNkYjU2NzkwMmZlYmI1MGE5N2QzNmQ0MThiOWRJIhBfY3NyZl90b2tlbgY7AEZJIjFaQm5HTmt5ZUcxWXNDaTJiWGVZYXh0UkovdGFTWTFaZ3dYYk5oY0s3YjE0PQY7AEZJIgpvYXV0aAY7AEZ7BjoMdHdpdHRlcnsGOhdjYWxsYmFja19jb25maXJtZWRUSSIMdXNlcl9pZAY7AEZpBg%3D%3D--f7f3d7a1785a35812213712a842910f70cea3590", "rack.version"=>[1, 1], "rack.input"=>#<StringIO:0x00000102b5cc98>, "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"=>"04d2233b1f71926fdbbe92e79711ce78eedcda051841d2aaa793a7745100cb70a6c54ce172f8c2bc80408e33a95d72d4c8e52c1de00a5846dca73ad6999bee21", "action_dispatch.remote_ip"=>127.0.0.1, "rack.session"=>{"session_id"=>"b8c43db567902febb50a97d36d418b9d", "_csrf_token"=>"ZBnGNkyeG1YsCi2bXeYaxtRJ/taSY1ZgwXbNhcK7b14=", "oauth"=>{:twitter=>{:callback_confirmed=>true}}, "user_id"=>1}, "rack.session.options"=>{:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :id=>"b8c43db567902febb50a97d36d418b9d"}, "rack.request.cookie_string"=>"_channelgameroom_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlYjhjNDNkYjU2NzkwMmZlYmI1MGE5N2QzNmQ0MThiOWRJIhBfY3NyZl90b2tlbgY7AEZJIjFaQm5HTmt5ZUcxWXNDaTJiWGVZYXh0UkovdGFTWTFaZ3dYYk5oY0s3YjE0PQY7AEZJIgpvYXV0aAY7AEZ7BjoMdHdpdHRlcnsGOhdjYWxsYmFja19jb25maXJtZWRUSSIMdXNlcl9pZAY7AEZpBg%3D%3D--f7f3d7a1785a35812213712a842910f70cea3590", "rack.request.cookie_hash"=>{"_channelgameroom_session"=>"BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlYjhjNDNkYjU2NzkwMmZlYmI1MGE5N2QzNmQ0MThiOWRJIhBfY3NyZl90b2tlbgY7AEZJIjFaQm5HTmt5ZUcxWXNDaTJiWGVZYXh0UkovdGFTWTFaZ3dYYk5oY0s3YjE0PQY7AEZJIgpvYXV0aAY7AEZ7BjoMdHdpdHRlcnsGOhdjYWxsYmFja19jb25maXJtZWRUSSIMdXNlcl9pZAY7AEZpBg==--f7f3d7a1785a35812213712a842910f70cea3590"}, "action_dispatch.cookies"=>{"_channelgameroom_session"=>"BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlYjhjNDNkYjU2NzkwMmZlYmI1MGE5N2QzNmQ0MThiOWRJIhBfY3NyZl90b2tlbgY7AEZJIjFaQm5HTmt5ZUcxWXNDaTJiWGVZYXh0UkovdGFTWTFaZ3dYYk5oY0s3YjE0PQY7AEZJIgpvYXV0aAY7AEZ7BjoMdHdpdHRlcnsGOhdjYWxsYmFja19jb25maXJtZWRUSSIMdXNlcl9pZAY7AEZpBg==--f7f3d7a1785a35812213712a842910f70cea3590"}, "action_dispatch.request.unsigned_session_cookie"=>{"session_id"=>"b8c43db567902febb50a97d36d418b9d", "_csrf_token"=>"ZBnGNkyeG1YsCi2bXeYaxtRJ/taSY1ZgwXbNhcK7b14=", "oauth"=>{:twitter=>{:callback_confirmed=>true}}, "user_id"=>1}, "action_dispatch.request.content_type"=>application/json, "action_dispatch.request.request_parameters"=>{"_json"=>"game_id=1064&videolink_id=79"}, "action_dispatch.request.path_parameters"=>{:action=>"update", :controller=>"likes", :id=>"1064"}, "action_controller.instance"=>#<LikesController:0x0000010178be58 ...>, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"_json"=>"game_id=1064&videolink_id=79", "action"=>"update", "controller"=>"likes", "id"=>"1064"}, "action_dispatch.request.accepts"=>[application/json, text/javascript, */*], "action_dispatch.request.formats"=>[application/json, text/javascript, */*]}, @fullpath="/likes/1064", @filtered_parameters={"_json"=>"game_id=1064&videolink_id=79", "action"=>"update", "controller"=>"likes", "id"=>"1064"}, @request_method="POST", @method="POST">, @_env={"CONTENT_LENGTH"=>"28", "CONTENT_TYPE"=>"application/json", "GATEWAY_INTERFACE"=>"CGI/1.1", "PATH_INFO"=>"/likes/1064", "QUERY_STRING"=>"", "REMOTE_ADDR"=>"127.0.0.1", "REMOTE_HOST"=>"flocktravel.local", "REQUEST_METHOD"=>"POST", "REQUEST_URI"=>"http://channelgameroom.local:3000/likes/1064", "SCRIPT_NAME"=>"", "SERVER_NAME"=>"channelgameroom.local", "SERVER_PORT"=>"3000", "SERVER_PROTOCOL"=>"HTTP/1.1", "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)", "HTTP_HOST"=>"channelgameroom.local:3000", "HTTP_CONNECTION"=>"keep-alive", "HTTP_REFERER"=>"http://channelgameroom.local:3000/games/1064-contra-nes", "HTTP_ORIGIN"=>"http://channelgameroom.local:3000", "HTTP_X_REQUESTED_WITH"=>"XMLHttpRequest", "HTTP_ACCEPT"=>"application/json, text/javascript, */*; q=0.01", "HTTP_USER_AGENT"=>"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10", "HTTP_ACCEPT_ENCODING"=>"gzip,deflate,sdch", "HTTP_ACCEPT_LANGUAGE"=>"en-US,en;q=0.8", "HTTP_ACCEPT_CHARSET"=>"ISO-8859-1,utf-8;q=0.7,*;q=0.3", "HTTP_COOKIE"=>"_channelgameroom_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlYjhjNDNkYjU2NzkwMmZlYmI1MGE5N2QzNmQ0MThiOWRJIhBfY3NyZl90b2tlbgY7AEZJIjFaQm5HTmt5ZUcxWXNDaTJiWGVZYXh0UkovdGFTWTFaZ3dYYk5oY0s3YjE0PQY7AEZJIgpvYXV0aAY7AEZ7BjoMdHdpdHRlcnsGOhdjYWxsYmFja19jb25maXJtZWRUSSIMdXNlcl9pZAY7AEZpBg%3D%3D--f7f3d7a1785a35812213712a842910f70cea3590", "rack.version"=>[1, 1], "rack.input"=>#<StringIO:0x00000102b5cc98>, "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"=>"04d2233b1f71926fdbbe92e79711ce78eedcda051841d2aaa793a7745100cb70a6c54ce172f8c2bc80408e33a95d72d4c8e52c1de00a5846dca73ad6999bee21", "action_dispatch.remote_ip"=>127.0.0.1, "rack.session"=>{"session_id"=>"b8c43db567902febb50a97d36d418b9d", "_csrf_token"=>"ZBnGNkyeG1YsCi2bXeYaxtRJ/taSY1ZgwXbNhcK7b14=", "oauth"=>{:twitter=>{:callback_confirmed=>true}}, "user_id"=>1}, "rack.session.options"=>{:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :id=>"b8c43db567902febb50a97d36d418b9d"}, "rack.request.cookie_string"=>"_channelgameroom_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlYjhjNDNkYjU2NzkwMmZlYmI1MGE5N2QzNmQ0MThiOWRJIhBfY3NyZl90b2tlbgY7AEZJIjFaQm5HTmt5ZUcxWXNDaTJiWGVZYXh0UkovdGFTWTFaZ3dYYk5oY0s3YjE0PQY7AEZJIgpvYXV0aAY7AEZ7BjoMdHdpdHRlcnsGOhdjYWxsYmFja19jb25maXJtZWRUSSIMdXNlcl9pZAY7AEZpBg%3D%3D--f7f3d7a1785a35812213712a842910f70cea3590", "rack.request.cookie_hash"=>{"_channelgameroom_session"=>"BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlYjhjNDNkYjU2NzkwMmZlYmI1MGE5N2QzNmQ0MThiOWRJIhBfY3NyZl90b2tlbgY7AEZJIjFaQm5HTmt5ZUcxWXNDaTJiWGVZYXh0UkovdGFTWTFaZ3dYYk5oY0s3YjE0PQY7AEZJIgpvYXV0aAY7AEZ7BjoMdHdpdHRlcnsGOhdjYWxsYmFja19jb25maXJtZWRUSSIMdXNlcl9pZAY7AEZpBg==--f7f3d7a1785a35812213712a842910f70cea3590"}, "action_dispatch.cookies"=>{"_channelgameroom_session"=>"BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlYjhjNDNkYjU2NzkwMmZlYmI1MGE5N2QzNmQ0MThiOWRJIhBfY3NyZl90b2tlbgY7AEZJIjFaQm5HTmt5ZUcxWXNDaTJiWGVZYXh0UkovdGFTWTFaZ3dYYk5oY0s3YjE0PQY7AEZJIgpvYXV0aAY7AEZ7BjoMdHdpdHRlcnsGOhdjYWxsYmFja19jb25maXJtZWRUSSIMdXNlcl9pZAY7AEZpBg==--f7f3d7a1785a35812213712a842910f70cea3590"}, "action_dispatch.request.unsigned_session_cookie"=>{"session_id"=>"b8c43db567902febb50a97d36d418b9d", "_csrf_token"=>"ZBnGNkyeG1YsCi2bXeYaxtRJ/taSY1ZgwXbNhcK7b14=", "oauth"=>{:twitter=>{:callback_confirmed=>true}}, "user_id"=>1}, "action_dispatch.request.content_type"=>application/json, "action_dispatch.request.request_parameters"=>{"_json"=>"game_id=1064&videolink_id=79"}, "action_dispatch.request.path_parameters"=>{:action=>"update", :controller=>"likes", :id=>"1064"}, "action_controller.instance"=>#<LikesController:0x0000010178be58 ...>, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"_json"=>"game_id=1064&videolink_id=79", "action"=>"update", "controller"=>"likes", "id"=>"1064"}, "action_dispatch.request.accepts"=>[application/json, text/javascript, */*], "action_dispatch.request.formats"=>[application/json, text/javascript, */*]}, @lookup_context=#<ActionView::LookupContext:0x00000101772048 @details_key=#<ActionView::LookupContext::DetailsKey:0x00000102ab9638 @hash=-4375100313680464061>, @details={:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:json], :locale=>[:en, :en]}, @skip_default_locale=false, @frozen_formats=true, @view_paths=[/Users/cbmeeks/Projects/channelgameroom/app/views, /Users/cbmeeks/Projects/channelgameroom/vendor/plugins/to_slug/app/views, /Users/cbmeeks/Projects/channelgameroom/vendor/plugins/auto_html/app/views]>, @_action_name="update", @_response_body=nil, @_config={}, @_params={"_json"=>"game_id=1064&videolink_id=79", "action"=>"update", "controller"=>"likes", "id"=>"1064"}, @vid_id=nil, @current_user=#<User id: 1, provider: "twitter", uid: "5700242", name: "Cecil Meeks", created_at: "2011-01-23 15:14:11", updated_at: "2011-01-23 15:14:11">> | |
action_dispatch.cookies: {"_channelgameroom_session"=>"BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlYjhjNDNkYjU2NzkwMmZlYmI1MGE5N2QzNmQ0MThiOWRJIhBfY3NyZl90b2tlbgY7AEZJIjFaQm5HTmt5ZUcxWXNDaTJiWGVZYXh0UkovdGFTWTFaZ3dYYk5oY0s3YjE0PQY7AEZJIgpvYXV0aAY7AEZ7BjoMdHdpdHRlcnsGOhdjYWxsYmFja19jb25maXJtZWRUSSIMdXNlcl9pZAY7AEZpBg==--f7f3d7a1785a35812213712a842910f70cea3590"} | |
action_dispatch.parameter_filter: [:password] | |
action_dispatch.remote_ip: 127.0.0.1 | |
action_dispatch.request.accepts: [application/json, text/javascript, */*] | |
action_dispatch.request.content_type: application/json | |
action_dispatch.request.formats: [application/json, text/javascript, */*] | |
action_dispatch.request.parameters: {"_json"=>"game_id=1064&videolink_id=79", "action"=>"update", "controller"=>"likes", "id"=>"1064"} | |
action_dispatch.request.path_parameters: {:action=>"update", :controller=>"likes", :id=>"1064"} | |
action_dispatch.request.query_parameters: {} | |
action_dispatch.request.request_parameters: {"_json"=>"game_id=1064&videolink_id=79"} | |
action_dispatch.request.unsigned_session_cookie: {"session_id"=>"b8c43db567902febb50a97d36d418b9d", "_csrf_token"=>"ZBnGNkyeG1YsCi2bXeYaxtRJ/taSY1ZgwXbNhcK7b14=", "oauth"=>{:twitter=>{:callback_confirmed=>true}}, "user_id"=>1} | |
action_dispatch.secret_token: "04d2233b1f71926fdbbe92e79711ce78eedcda051841d2aaa793a7745100cb70a6c54ce172f8c2bc80408e33a95d72d4c8e52c1de00a5846dca73ad6999bee21" | |
rack.errors: #<IO:<STDERR>> | |
rack.input: #<StringIO:0x00000102b5cc98> | |
rack.multiprocess: false | |
rack.multithread: false | |
rack.request.cookie_hash: {"_channelgameroom_session"=>"BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlYjhjNDNkYjU2NzkwMmZlYmI1MGE5N2QzNmQ0MThiOWRJIhBfY3NyZl90b2tlbgY7AEZJIjFaQm5HTmt5ZUcxWXNDaTJiWGVZYXh0UkovdGFTWTFaZ3dYYk5oY0s3YjE0PQY7AEZJIgpvYXV0aAY7AEZ7BjoMdHdpdHRlcnsGOhdjYWxsYmFja19jb25maXJtZWRUSSIMdXNlcl9pZAY7AEZpBg==--f7f3d7a1785a35812213712a842910f70cea3590"} | |
rack.request.cookie_string: "_channelgameroom_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlYjhjNDNkYjU2NzkwMmZlYmI1MGE5N2QzNmQ0MThiOWRJIhBfY3NyZl90b2tlbgY7AEZJIjFaQm5HTmt5ZUcxWXNDaTJiWGVZYXh0UkovdGFTWTFaZ3dYYk5oY0s3YjE0PQY7AEZJIgpvYXV0aAY7AEZ7BjoMdHdpdHRlcnsGOhdjYWxsYmFja19jb25maXJtZWRUSSIMdXNlcl9pZAY7AEZpBg%3D%3D--f7f3d7a1785a35812213712a842910f70cea3590" | |
rack.request.query_hash: {} | |
rack.request.query_string: "" | |
rack.run_once: false | |
rack.session: {"session_id"=>"b8c43db567902febb50a97d36d418b9d", "_csrf_token"=>"ZBnGNkyeG1YsCi2bXeYaxtRJ/taSY1ZgwXbNhcK7b14=", "oauth"=>{:twitter=>{:callback_confirmed=>true}}, "user_id"=>1} | |
rack.session.options: {:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :id=>"b8c43db567902febb50a97d36d418b9d"} | |
rack.url_scheme: "http" | |
rack.version: [1, 1]</pre></div> | |
<h2 style="margin-top: 30px">Response</h2> | |
<p><b>Headers</b>: <pre>None</pre></p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment