Technically, the same SQL query is run for both of these (try it out!):

* `current_profile.student_books.find_by(student_profile_id: current_profile.id)`
*  `StudentBook.find_by(book_id: book.id, student_profile_id: current_profile.id)`

I think the first version (`current_profile.student_books`) is more readable, though.