search for: end_user_id

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

2009 Oct 29
4
Unknown column 'quotes.organisation_id' in 'where clause': SELECT * FROM `quotes` WHERE (`quotes`.organisation_id = 1036)
...eives the goods (the end_user) or and intermediary (customer) (and in some cases both) An Organisation will (hopefully :) ) have many quotes; and a quote can belong to an organisation, either as a customer or as an end_user or both. So the quotes table has fields customer_id:integer, and end_user_id:integer. The Organisation class has "has_many :quotes" and the Quotes class has "belongs_to :customer, :class_name => ''Organisation''" and "belongs_to :end_user, :class_name => ''Organisation''". I now want to get all qu...