From: Mahmou M'hiri Date: 2007-02-25T03:28:11+09:00 Subject: Testing a query result 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/.