How are the params none when you clearly mention params[:id], params[:project][:category] and params[:project]?