Displaying 1 result from an estimated 1 matches for "pub_editions".
2007 May 22
2
find :all :include broken on Oracle 10
...ates.publication_id = publications.id
Obviously, the joins should be:
LEFT OUTER JOIN doc_types ON doc_types.id = publications.doc_type_id
LEFT OUTER JOIN release_states ON release_states.id =
publications.release_state_id
Here is the model:
class Publication < ActiveRecord::Base
has_many :pub_editions
has_one :doc_type
has_one :release_state
end
What''s the problem?
Much appreciated,
Kevin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group,...