Restrict the values assignable to ActiveRecord attributes or associations.