TMDB.org recently made a change to their API which removes the capability to browse
their database.
My Rails app used to use the tmdb-ruby gem to browse the TMDB database, but this gem only worked with v2.0 of the API, which is now defunct.
TMDB.org recommends using this gem, and since it is forked from the gem I previously used, it makes it a bit easier.
My PostgreSQL database is already populated with data imported from TMDB when v2.0 was still extant and when I could use the browse
feature.
How can I now use the find feature (ie: @movie = TmdbMovie.find(:title => "Iron Man", :limit => 1)
) to find a random movie, without supplying the title of the Movie.
This is my rake file which worked with the older gem.
I would like to know how to have it work the same way but whilst using the find
instead of the browse
.
Thanks