Displaying 1 result from an estimated 1 matches for "hemingway_alpha".
2007 Nov 14
1
New Foxy Fixtures (Rails 2) & STI (Single Table Inheritance)
...l for relationships
in fixtures (by label, not by id) and STI. What I''ve got, is a couple
of models:
Attachment
--> FileDownload
Version
Version has_one file_download with file_download_id on the versions
table
In my fixtures, I have two FileDownloads in my attachments.yml like
so:
hemingway_alpha_zip:
size: 100
filename: hemingway_alpha.zip
content_type: application/zip
type: FileDownload
project: hemingway
now, in my versions.yml, I have:
alpha:
name: Alpha 1
revision: 2
description: this is the first alpha release for hemingway!
project: hemingway
file_download: hemi...