Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Fix broken similar movies call

#356


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>'

Reported by Travis Bell · November 23rd, 2012 @ 09:32 AM

State: resolved
Assigned to: Travis Bell Travis Bell

Activity

  1. Travis Bell
    Travis Bell
    • State changed from new to started

    November 23rd, 2012 @ 09:44 AM

  2. Travis Bell
    Travis Bell
    • State changed from started to resolved

    November 23rd, 2012 @ 09:46 AM

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.