Now you can say:
class Song < ActiveRecord::Base attr_accessor :virtual_attribute assignable_values_for :virtual_attribute do %w[air fluff] end end