Automaticaly increments a field in ActiveRecord.