On Sep 22, 2009, at 11:20 AM, dxg wrote:
> > Hey, > > I have a model called 'MediaSeries'. > I have another model called 'AudioRecording'. > Audio recordings can belong to 1 media series. > > If I remove :child_key, I get this: > ERROR: column audio_recording_media_serieses.media_sery_id does not > exist > LINE 1: ...ording_media_serieses" ON "media_serieses"."id" = > "audio_rec... > ^ > What am I doing wrong and how can I make this work? > Thanks. > The simplest solution is to choose a model name that has different spellings for singular and plural. I'd suggest MediaProgram in this case. BTW, http://rhymezone.com is useful for finding related words. HTH, Roy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
