emberjs/data — Issue #105: enumeration/choices attributes
Author: NickFranceschina
Created: 2012-02-21 01:38:00+00:00
State: open

would like the ability to pass in a list of valid options/choices for an attribute... example:

DS.attr('status',{choices:['active','inactive','archived']);

which would validate set('status',val) against the list of choices