I rode a pretty "flashy" mountain bike and just locked it up really good (popped off the front wheel and brought it to the back so both wheels and the frame went through the ulock. I also had a cable lock for my seat). The worst part about riding your bike to school is when you're late and there's no more room at the bike rack.
Suggestion for a real nice ride in the summer: ride out to the wetlands in between Davis and Sac. There are picnic tables where you can chill out. Stop at the fruit market right before the entrance to the wetlands.