#356 ✓resolved
Travis Bell

Fix broken similar movies call

Reported by Travis Bell | November 23rd, 2012 @ 09:32 AM | in Never Say Never Again (closed)


ArgumentError - comparison of Fixnum with nil failed:

/var/production/tmdb_org/src/lib/models/movie.rb:499:in `sort_by'
/var/production/tmdb_org/src/lib/models/movie.rb:499:in `similar_movies'
/var/production/tmdb_org/src/views/movie/remote_similar_movies.erb:3:in `block in singletonclass'
/var/production/tmdb_org/src/views/movie/remote_similar_movies.erb:65532:in `instance_eval'
/var/production/tmdb_org/src/views/movie/remote_similar_movies.erb:65532:in `singletonclass'
/var/production/tmdb_org/src/views/movie/remote_similar_movies.erb:65530:in `__tilt_16126920'
/var/production/tmdb_org/bundle/ruby/1.9.1/gems/tilt-1.3.3/lib/tilt/template.rb:140:in `call'
/var/production/tmdb_org/bundle/ruby/1.9.1/gems/tilt-1.3.3/lib/tilt/template.rb:140:in `cached_evaluate'
/var/production/tmdb_org/bundle/ruby/1.9.1/gems/tilt-1.3.3/lib/tilt/template.rb:127:in `evaluate'
/var/production/tmdb_org/bundle/ruby/1.9.1/gems/tilt-1.3.3/lib/tilt/template.rb:76:in `render'
/var/production/tmdb_org/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb:686:in `render'
/var/production/tmdb_org/bundle/ruby/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb:572:in `erb'
/var/production/tmdb_org/src/lib/controllers/movie_controller.rb:607:in `block in <class:TMDB>'

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Tags

Pages