Closed spinosa closed 11 years ago
it should only request javascript via $.get
$.get
is causing the following error on the backend:
A ActionView::MissingTemplate occurred in turbo_embed#embellish: Missing template turbo_embed/embellish, application/embellish with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder]}. Searched in: * "/home/gt/web/releases/20130207220257/app/views" /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_view/path_set.rb:58:in `find' ------------------------------- Request: * URL : http://shelby.tv/turbo_embellish?providerName=youtube&providerDomain=youtube.com&videoId=O4MtQGRIIuA&shelbyTurboTag=T-1358208000000-0&userId=4d7d154ff6db244f5e000001 * IP address: 66.249.73.40 * Parameters: {"providerName"=>"youtube", "providerDomain"=>"youtube.com", "videoId"=>"O4MtQGRIIuA", "shelbyTurboTag"=>"T-1358208000000-0", "userId"=>"4d7d154ff6db244f5e000001", "controller"=>"turbo_embed", "action"=>"embellish"} * Rails root: /home/gt/web/releases/20130207220257 ------------------------------- Session: * session id: nil * data: {} ------------------------------- Environment: * HTTP_ACCEPT : */*,*/* * HTTP_ACCEPT_ENCODING : gzip,deflate * HTTP_FROM : googlebot(at)googlebot.com * HTTP_HOST : shelby.tv * HTTP_ORIGIN : http://reecepacheco.com * HTTP_REFERER : http://reecepacheco.com/ * HTTP_USER_AGENT : Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) * HTTP_VERSION : HTTP/1.1 * HTTP_X_FORWARDED_FOR : 66.249.73.40 * HTTP_X_FORWARDED_PROTO : http * HTTP_X_REAL_IP : 66.249.73.40 * ORIGINAL_FULLPATH : /turbo_embellish?providerName=youtube&providerDomain=youtube.com&videoId=O4MtQGRIIuA&shelbyTurboTag=T-1358208000000-0&userId=4d7d154ff6db244f5e000001 * PATH_INFO : /turbo_embellish * QUERY_STRING : providerName=youtube&providerDomain=youtube.com&videoId=O4MtQGRIIuA&shelbyTurboTag=T-1358208000000-0&userId=4d7d154ff6db244f5e000001 * REMOTE_ADDR : 127.0.0.1 * REQUEST_METHOD : GET * REQUEST_PATH : /turbo_embellish * REQUEST_URI : /turbo_embellish?providerName=youtube&providerDomain=youtube.com&videoId=O4MtQGRIIuA&shelbyTurboTag=T-1358208000000-0&userId=4d7d154ff6db244f5e000001 * SCRIPT_NAME : * SERVER_NAME : shelby.tv * SERVER_PORT : 80 * SERVER_PROTOCOL : HTTP/1.1 * SERVER_SOFTWARE : Unicorn 4.4.0 * action_controller.instance : turbo_embed#embellish * action_dispatch.backtrace_cleaner : #<Rails::BacktraceCleaner:0x000000044c5640> * action_dispatch.cookies : #<ActionDispatch::Cookies::CookieJar:0x00000005998658> * action_dispatch.logger : #<ActiveSupport::TaggedLogging:0x00000003d493f8> * action_dispatch.parameter_filter : [:password, /RAW_POST_DATA/] * action_dispatch.remote_ip : 66.249.73.40 * action_dispatch.request.content_type : * action_dispatch.request.formats : [text/html] * action_dispatch.request.parameters : {"providerName"=>"youtube", "providerDomain"=>"youtube.com", "videoId"=>"O4MtQGRIIuA", "shelbyTurboTag"=>"T-1358208000000-0", "userId"=>"4d7d154ff6db244f5e000001", "controller"=>"turbo_embed", "action"=>"embellish"} * action_dispatch.request.path_parameters : {:controller=>"turbo_embed", :action=>"embellish"} * action_dispatch.request.query_parameters : {"providerName"=>"youtube", "providerDomain"=>"youtube.com", "videoId"=>"O4MtQGRIIuA", "shelbyTurboTag"=>"T-1358208000000-0", "userId"=>"4d7d154ff6db244f5e000001"} * action_dispatch.request.request_parameters : {} * action_dispatch.request.unsigned_session_cookie: {} * action_dispatch.request_id : b18fd23d181a483156d72c0eb182c52c * action_dispatch.routes : #<ActionDispatch::Routing::RouteSet:0x00000002c32dd0> * action_dispatch.secret_token : bf4cd3afd9fe651da3536bead5e415ca5fff75142c716df3deb6fd537be93eea3e8deb5cf25bd4c36267714bc65a1911466e8afda86b09220636b074355eb68d * action_dispatch.show_detailed_exceptions : false * action_dispatch.show_exceptions : true * exception_notifier.options : {:sender_address=>"\"ShelbyGT Notifier\" <whatever-noreply@shelby.com>", :exception_recipients=>["gt-web-errors@shelby.tv"], :email_prefix=>"[GT WebApp Error] ", :sections=>["request", "session", "environment", "backtrace"], :ignore_exceptions=>[AbstractController::ActionNotFound, ActionController::RoutingError]} * rack-cache.allow_reload : false * rack-cache.allow_revalidate : false * rack-cache.cache_key : Rack::Cache::Key * rack-cache.default_ttl : 0 * rack-cache.entitystore : rails:/ * rack-cache.ignore_headers : ["Set-Cookie"] * rack-cache.metastore : rails:/ * rack-cache.private_headers : ["Authorization", "Cookie"] * rack-cache.storage : #<Rack::Cache::Storage:0x000000040db908> * rack-cache.use_native_ttl : false * rack-cache.verbose : false * rack.errors : #<File:0x00000002137228> * rack.input : #<StringIO:0x00000002984020> * rack.logger : #<Logger:0x00000002450090> * rack.multiprocess : true * rack.multithread : false * rack.request.cookie_hash : {} * rack.request.query_hash : {"providerName"=>"youtube", "providerDomain"=>"youtube.com", "videoId"=>"O4MtQGRIIuA", "shelbyTurboTag"=>"T-1358208000000-0", "userId"=>"4d7d154ff6db244f5e000001"} * rack.request.query_string : providerName=youtube&providerDomain=youtube.com&videoId=O4MtQGRIIuA&shelbyTurboTag=T-1358208000000-0&userId=4d7d154ff6db244f5e000001 * rack.run_once : false * rack.session : {} * rack.session.options : {:path=>"/", :domain=>".shelby.tv", :expire_after=>nil, :secure=>false, :httponly=>true, :defer=>false, :renew=>false, :secret=>"87ea105684b92e95512f01b0d23b0eb42af81fc257ae0cf17fc9acef5a6b", :coder=>#<Rack::Session::Cookie::Base64::Marshal:0x00000003bed090>, :id=>nil} * rack.url_scheme : http * rack.version : [1, 1] * Process: 5991 * Server : gt-web-2 ------------------------------- Backtrace: /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_view/path_set.rb:58:in `find' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_view/lookup_context.rb:109:in `find' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_view/renderer/abstract_renderer.rb:3:in `find_template' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_view/renderer/template_renderer.rb:34:in `determine_template' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_view/renderer/template_renderer.rb:10:in `render' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_view/renderer/renderer.rb:36:in `render_template' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_view/renderer/renderer.rb:17:in `render' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/abstract_controller/rendering.rb:110:in `_render_template' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_controller/metal/streaming.rb:225:in `_render_template' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/abstract_controller/rendering.rb:103:in `render_to_body' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_controller/metal/renderers.rb:28:in `render_to_body' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_controller/metal/compatibility.rb:50:in `render_to_body' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/abstract_controller/rendering.rb:88:in `render' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_controller/metal/rendering.rb:16:in `render' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/activesupport/lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/gt/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/activesupport/lib/active_support/core_ext/benchmark.rb:5:in `ms' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_controller/metal/instrumentation.rb:40:in `block in render' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_controller/metal/instrumentation.rb:39:in `render' app/controllers/turbo_embed_controller.rb:36:in `block in embellish' app/controllers/turbo_embed_controller.rb:33:in `each' app/controllers/turbo_embed_controller.rb:33:in `embellish' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/abstract_controller/base.rb:167:in `process_action' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_controller/metal/rendering.rb:10:in `process_action' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/abstract_controller/callbacks.rb:18:in `block in process_action' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/activesupport/lib/active_support/callbacks.rb:426:in `block in _run__3266879367053567552__process_action__4492603207327402681__callbacks' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/activesupport/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_30' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/vanity-8090027f857b/lib/vanity/frameworks/rails.rb:104:in `vanity_context_filter' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/activesupport/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_30' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/activesupport/lib/active_support/callbacks.rb:414:in `_run__3266879367053567552__process_action__4492603207327402681__callbacks' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/activesupport/lib/active_support/callbacks.rb:405:in `__run_callback' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/activesupport/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/activesupport/lib/active_support/callbacks.rb:81:in `run_callbacks' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/abstract_controller/callbacks.rb:17:in `process_action' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_controller/metal/rescue.rb:29:in `process_action' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/activesupport/lib/active_support/notifications.rb:123:in `block in instrument' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/activesupport/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/activesupport/lib/active_support/notifications.rb:123:in `instrument' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_controller/metal/instrumentation.rb:29:in `process_action' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_controller/metal/params_wrapper.rb:207:in `process_action' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/abstract_controller/base.rb:121:in `process' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/abstract_controller/rendering.rb:45:in `process' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_controller/metal.rb:203:in `dispatch' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_controller/metal.rb:246:in `block in action' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_dispatch/routing/route_set.rb:73:in `call' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_dispatch/routing/route_set.rb:73:in `dispatch' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_dispatch/routing/route_set.rb:36:in `call' config/initializers/routing_invalid_chars_fix.rb:26:in `call_with_invalid_char_handling' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_dispatch/routing/route_set.rb:601:in `call' exception_notification (2.5.2) lib/exception_notifier.rb:25:in `call' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.3) lib/rack/etag.rb:23:in `call' rack (1.4.3) lib/rack/conditionalget.rb:25:in `call' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_dispatch/middleware/head.rb:14:in `call' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_dispatch/middleware/params_parser.rb:21:in `call' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.3) lib/rack/session/abstract/id.rb:210:in `context' rack (1.4.3) lib/rack/session/abstract/id.rb:205:in `call' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_dispatch/middleware/cookies.rb:341:in `call' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/activesupport/lib/active_support/callbacks.rb:405:in `_run__1364943968562611212__call__4529071866890341860__callbacks' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/activesupport/lib/active_support/callbacks.rb:405:in `__run_callback' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/activesupport/lib/active_support/callbacks.rb:385:in `_run_call_callbacks' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/activesupport/lib/active_support/callbacks.rb:81:in `run_callbacks' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_dispatch/middleware/callbacks.rb:27:in `call' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_dispatch/middleware/remote_ip.rb:31:in `call' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/railties/lib/rails/rack/logger.rb:32:in `call_app' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/railties/lib/rails/rack/logger.rb:16:in `block in call' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/activesupport/lib/active_support/tagged_logging.rb:22:in `tagged' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/railties/lib/rails/rack/logger.rb:16:in `call' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/actionpack/lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.3) lib/rack/methodoverride.rb:21:in `call' rack (1.4.3) lib/rack/runtime.rb:17:in `call' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/activesupport/lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.3) lib/rack/lock.rb:15:in `call' rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward' rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch' rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup' rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!' rack-cache (1.2) lib/rack/cache/context.rb:51:in `call' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/railties/lib/rails/engine.rb:479:in `call' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/railties/lib/rails/application.rb:223:in `call' /home/gt/web/shared/bundle/ruby/1.9.1/bundler/gems/rails-ec6db9257c53/railties/lib/rails/railtie/configurable.rb:30:in `method_missing' unicorn (4.4.0) lib/unicorn/http_server.rb:535:in `process_client' unicorn (4.4.0) lib/unicorn/http_server.rb:610:in `worker_loop' unicorn (4.4.0) lib/unicorn/http_server.rb:491:in `spawn_missing_workers' unicorn (4.4.0) lib/unicorn/http_server.rb:141:in `start' unicorn (4.4.0) bin/unicorn:121:in `<top (required)>' /home/gt/web/shared/bundle/ruby/1.9.1/bin/unicorn:23:in `load' /home/gt/web/shared/bundle/ruby/1.9.1/bin/unicorn:23:in `<main>'
it should only request javascript via
$.get
is causing the following error on the backend: