Always lock your frame and wheel to the bike rack. It's best to have both wheels locked to the rack, but that's not always feasible. We recommend at least the front wheel (preferably both back and front) along with the frame.
Here's a link to great set of resources from the City of Portland with some best practices and links to creative ways to keep your bike secure.