PDA

View Full Version : has_many/belongs_to and DRY


rubyonrails-talk
August 30th, 2006, 05:54 PM
Can someone tell me whether the fact that ActiveRecord
requires both has_many and belongs_to
* isn't really a violation of DRY
* is a necessary violation of DRY
* is an unnecessary violation of DRY, which (will/won't)
go away in time, for the following reason...
That is, does using both statements tell ActiveRecord

More... (http://groups.google.com/group/rubyonrails-talk/msg/50401d89062ce551)