search for: galery_id

Displaying 1 result from an estimated 1 matches for "galery_id".

Did you mean: gallery_id
2006 Apr 15
2
3 models -> 1 image
...39;t understand what the relationship between the 3 models and the Image model should be. I might goes to Galery has_one Image, Product has_one Image and News has_one Image but I presume that active record will rely on Image model having a foreign key related to only one owner model (eg. Image.galery_id), which can''t be the case. Any hint appreciated, thank you -- Posted via http://www.ruby-forum.com/.