Use db[:name] instead of name