SQL Query :Select * From pages where page_category_id = 4 and parent_id is null and content_dutch <> ""Ruby QueryPage.find_all_by_page_category_id params[:id], :conditions => ['parent_id' = nil AND 'content_dutch' != ""]