Thanks! Turns out I had a polymorphic association in theory, but had failed to implement in an appropriately railsy way.
On Nov 1, 6:34 am, vhochstein <[email protected]> wrote: > Hi, > > Have you tried a polymorphic association? > > If that does not fit your needs, you have another option if you are > using Rails 3: > active_scaffold for rails 3 has a new feature which allows you to link > a nested view to a scope. > Please > seehttp://groups.google.de/group/activescaffold/browse_thread/thread/8fb... > for an example. > > -- > Volker > > On 29 Okt., 21:57,jabauer<[email protected]> wrote: > > > My database has a validation/citation system. Every record in the > > database can be linked to a bibliographic citation. Rather than > > create a gigantic linking table, I simply made a table in the > > Validation model that consists of the name of the model and the id of > > the particular record (ex. assignment12345). Is there anyway I can > > have a nested scaffold of the relevant validation records for each > > other record? Everything I've seen about nested scaffolds or virtual > > columns suggests that they have to be directly linked to the > > attributes or relationships of a given model. To see a diagram of > > what I'm talking about look at the Validations module > > athttp://projectquincy.rubyforge.org/images/PQ_Annotated4-18-10.pdf > > > Many thanks! > > -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.
