From 86a77e472a54f6091eebffae42d638c3c826c13d Mon Sep 17 00:00:00 2001 From: Peter Kozak Date: Mon, 25 Feb 2013 02:39:39 -0500 Subject: softkeys are polymorphic --- app/models/call_forward.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/models/call_forward.rb b/app/models/call_forward.rb index c668993..088bd23 100644 --- a/app/models/call_forward.rb +++ b/app/models/call_forward.rb @@ -10,7 +10,7 @@ class CallForward < ActiveRecord::Base belongs_to :phone_number belongs_to :call_forwardable, :polymorphic => true - has_many :softkeys + has_many :softkeys, :as => :softkeyable acts_as_list :scope => [ :phone_number_id, :call_forward_case_id ] -- cgit v1.2.3