I\'m trying to check if a find method returns a result. My find method is the following:
post = Post.find(:all, :conditions => { :url => params[\'url\'] },
if post doesn't contain any result it will be an empty list and then:
post.empty?
will return true.