Perhaps you are after attr_accessible, which indicates columns that are "assignable by mass" (as in, they can be passed in createand update_attributes). In fact, this would mean that they are write protected.
To set this attribute:
@user.admin = true
@user.save