Open richardkmichael opened 13 years ago
agreed
On Mon, Sep 5, 2011 at 9:28 PM, richardkmichael < reply@reply.github.com>wrote:
validates :users, :presence => true has_many :collaborations, :dependent => :destroy has_many :users, :through => :collaborations
Would be nicer as:
validates :collaborators, :presence => true has_many :collaborations, :dependent => :destroy has_many :collaborators, :through => :collaborations, :class => User
I think.
Reply to this email directly or view it on GitHub: https://github.com/richardkmichael/buy-my-beer/issues/27
Franck Verrot https://github.com/cesario https://twitter.com/cesariogw
Would be nicer as:
I think.