A MD5 checksum of the original file assigned will be placed in the model if it has an attribute named fingerprint. Following the user model migration example above, the migration would look like the following.
class AddAvatarFingerprintColumnToUser < ActiveRecord::Migration