Topic: Want to include Null values in the Search
I want to include rows in my search results which have requirement = NULL
conditions = Req.conditions(*params.values_at(:requirement, :title))
order = params[:order] || "id DESC"
@title = "Search Results"
@req_pages, @reqs = paginate(:reqs, :conditions => conditions, :order => order, :per_page => 10)
@total = @req_pages.item_count
render :layout => false if request.xml_http_request?