search for: pickandpackrequest

Displaying 1 result from an estimated 1 matches for "pickandpackrequest".

2007 Apr 30
2
has_many :through polymorphic
Hi All, I have the following arrangement: class PickAndPackRequest < ActiveRecord::Base has_many :transactions, :as => :request has_many :postings, :through => :transactions end class Transaction < ActiveRecord::Base belongs_to :request, :polymorphic => true has_many :postings end class Posting < ActiveRecord::Base belongs_to :transac...