search for: somethingidon

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

2005 Dec 15
4
Acts_as_tree and routing
...ds, if I''ve got this: def self.up create_table :nodes do |t| t.column :parent_id, :integer t.column :tag, :string end end and class Node < ActiveRecord::Base acts_as_tree end and what I want the urls to be is something like: map.connect ''node/view/*tag'', /*somethingIdon''tknowhere*/ what''s the easiest way to make this work, assuming that I can validate that no two siblings have the same tag? It doesn''t seem that unusual a requirement, but I can''t see any documentation for this sort of arrangement anywhere. Thanks, -- Alex