Find the most liked movie directed by Christopher Nolan with the plot keyword "foul play"
Opened this issue · 0 comments
marlabrizel commented
Challenge 1:
Using the rails console
and rails dbconsole
, write an Active Record query to answer the following question:
Find the most liked movie directed by Christopher Nolan with the plot keyword "foul play"
Challenge 2
Move this query to the Movie
model and write it as a class method that can take arguments for director name and plot keyword