Rattay completed 11-of-16 passes for 165 yards for the 49ers (1-0), who had just two wins last season. Fred Amey returned a punt 75 yards for a touchdown in the second quarter and Mike Adams intercepted Marc Bulger with 59 seconds to play and the Rams in San Francisco territory.
Bulger had 362 yards on 34-of-56 passing and a pair of TDs for St. Louis (0-1), which held a 405-217 advantage in total yards. Jeff Wilkins kicked four field goals for the Rams.
Exploding whale video goes viral on Internet
Couple mistakenly served bag of cash at McDonald's drive-thru