search for: f1c8371b25abb98c5a11949b2ef72529

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

2006 Jul 17
2
Trouble with has_one
Hi, I''m trying to write a blog application where each post has a single header image associated. My models: ---------- class Post < ActiveRecord::Base belongs_to :blog has_many :images has_one :header end class Header < ActiveRecord::Base file_column :image_path end class Image < ActiveRecord::Base belongs_to :post file_column :image_path end The controller targets I