Mimosa
Manager · Not a member
Mimosa's latest activity
Monday, August 23 2010
2421
Problem with has_many :through and alternate keys
was updated
in Ruby on Rails
-
-
Mimosa commented at 4:28 AMapi.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html
:through
Specifies a Join Model through which to perform the query. ** Options for :cl... -
Mimosa commented at 4:21 AMwhy not use change :foreign_key ?
has_many :friendships, :dependent => :destroy has_many :friends, :through => :friendships, :conditions => "state = 'accepte...