changing find_by and find_all_by