search for: unapproved_id

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

2006 Oct 22
3
Keeping DRY - I like a simple life!
...ny :versions, :class_name => "FooVersion", :foreign_key => "parent_id" belongs_to :curr, :class_name => "FooVersion", :foreign_key => "current_id" belongs_to :unapproved, :class_name => "FooVersion", :foreign_key => "unapproved_id" end I''d like to make use of this again with my Bar and BarVersion class without copying and pasting. Any thoughs on how I could do this? Thanks, Richard -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message be...