Displaying 1 result from an estimated 1 matches for "anynameyouwant".
2005 Mar 01
1
rename associations
Greetings all,
In looking at the API for ActiveRecord::Associations::ClassMethods there
doesn''t appear to be a way to rename an association. In doing some
refactoring I am replacing one table with two but want to preserve the
old associations names, e.g. I want to be able to still say
build_type.artifacts instead of having to use the new table name:
build_type.build_type_artifacts.