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!

-- 
Posted via http://www.ruby-forum.com/.