Doing this:
class TaskType < ActiveRecord::Base
TaskType has_one :providers_description_cta, class_name: 'Cta', as: :actionable
end
And:
config.task_type do
nested :providers_description_cta
end
config.cta do
scalar :type, :text, :url, :phone
end
Doesn't work because it doesn't realize that :providers_description_cta is a :cta. I should be able to specify what class to use by saying as: :cta