Thanks for your help Colin, resolved the issued by changing my model 
associations....

class NameAlias < ActiveRecord::Base
  has_many :sub_tasks
  has_many :work_orders, :through => :sub_tasks

class SubTask < ActiveRecord::Base
  belongs_to :name_alias
  belongs_to :work_order

class WorkOrder < ActiveRecord::Base
  has_many :sub_tasks
  has_many :name_aliases, :through => :sub_tasks

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to