ActiveRecord::RecordNotFound in VideosController#show

Couldn't find Video with ID=299 AND (`videos`.viewable_id = 47 AND `videos`.viewable_type = 'Guitar')

RAILS_ROOT: /var/rails/fretbase/releases/20130225223943

Application Trace | Framework Trace | Full Trace
/var/rails/fretbase/shared/bundle/ruby/1.8/gems/activerecord-2.3.17/lib/active_record/base.rb:1620:in `find_one'
/var/rails/fretbase/shared/bundle/ruby/1.8/gems/activerecord-2.3.17/lib/active_record/base.rb:1603:in `find_from_ids'
/var/rails/fretbase/shared/bundle/ruby/1.8/gems/activerecord-2.3.17/lib/active_record/base.rb:620:in `find'
/var/rails/fretbase/shared/bundle/ruby/1.8/gems/activerecord-2.3.17/lib/active_record/associations/association_collection.rb:60:in `find'
/var/rails/fretbase/releases/20130225223943/lib/model_controller_methods.rb:199:in `load_object'

Request

Parameters:

{"id"=>"299",
 "guitar_id"=>"47-fender-telecaster--american-standard-"}

Show session dump

Response

Headers:

{"Content-Type"=>"",
 "Set-Cookie"=>"user=; path=/\nfbuser=; path=/",
 "Cache-Control"=>"no-cache"}