search for: relation_type_id

Displaying 2 results from an estimated 2 matches for "relation_type_id".

2008 Mar 28
0
Problems with URL encoding
...%= link_to_remote "Remove", :url => object_relation_path( :id => 0, :object_relation => { :parent_id => @product.id, :parent_type => "Product", :child_id => content_object.id, :child_type => "ContentObject", :relation_type_id => 1000 }, :format => :partial, :response_template => "products/#{@product.product_type}/show/ partials/related_content"), :update => "related_content_wrapper", :method => :delete %> I think this is a correct setting and Firebug shows a correct...
2006 Mar 08
0
combining STI + polymorphism + rich self HABTM : how to ?
...Entity class Company < Entity table "relations" ------------------ # of_id :integer(11) = the left party: john, MSFT # of_type :string(20) # with_id :integer(11) = the right party.. # with_type :string(20) # relation_type_id :integer(11) = L.U.T: "works_for", "knows" relationship models ---------------- class Relation < AR::B class RelationType < AR::B What I don''t know: ***************** How to associate all those pieces? (belongs_to, has_many, :as => ..., :foreign_...