M
Mahmou M'hiri
Hello every body,
It's a very basic question, i want just to test if this query did return
any result.
@BookDetails = Book.find(params[:id])
I tried "nil", but it seems that even if there isn't any book with that
id, @BookDetails is != nil.
Help please!
It's a very basic question, i want just to test if this query did return
any result.
@BookDetails = Book.find(params[:id])
I tried "nil", but it seems that even if there isn't any book with that
id, @BookDetails is != nil.
Help please!