Displaying 1 result from an estimated 1 matches for "artist_photos".
Did you mean:
artist_photo
2006 Mar 31
1
many to one :through another
Since has_one :colour :through => :species isn''t supported (for some
reason unknown to me), can anyone forsee any problems that the
following workaround might cause (in the Photo class).
has_many :artists, :through => :artist_photos
has_one :artist_photo
So effectively, the has_many statement gives me the through
functionality I need, but the has_one restricts the program to only
one artist for each photo. I know this might seem like a silly
question, but go easy, I''ve been doing this less than a week.
Thanks,
Nathan