A 289 additional
The Alternative Class Features III
list has several options for trading away a Ranger's animal companion, and a couple possibilities for trading away spellcasting. If you're interested in each of those options individually, the Mystic Ranger variant (Dragon
# 336, page 105) trades away the animal companion (in part) for increased spellcasting capability.