Displaying 1 result from an estimated 1 matches for "timesheetentry".
2010 Mar 01
0
undefined method for Polymorphic association using Searchlogic
...am hoping someone can provide a suggestion on how to debug this
issue.
My project consists of several gems, and is using Rails v2.3.4 and the
latest searchlogic repository.
Thanks in advance.
Polymorphic model association
====================================================================
class TimesheetEntry < ActiveRecord::Base
belongs_to :timesheet_enterable, :polymorphic => true
class Task < ActiveRecord::Base
has_many :timesheet_entries, :as => :timesheet_enterable
attr_accessible :project_id
Console results
====================================================================...