Ability to extract models attributes from Rails