search for: barversion

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

Did you mean: tarversion
2006 Oct 22
3
Keeping DRY - I like a simple life!
...arent_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 because you are subscribed to the Google Groups "Ruby on Rails: Talk" group...