Hi Essentially I want to add a consistent names scope to all my models, and have a session value set up that provides the value to use in that scope. This when every AS make a query is also apples the names scope conditions.
I have a need for "defined snapshots" of each model and across a number of related models. Acts as versioned is not what I'm looking for. I could use composite keys (and the associated plug-in) in the model but want to avoid that. I can add an additional columns onto each model that determine which snapshot it is in, and form a DB perspective make it part of the primary key, but from an application perspective the specific snapshot in use can be fixed for all models and can always be specified as a where clause, names_scopes from what I see may be a way to achieve this if AS can apply it to all models automatically. Any thoughts ? Best -Simon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
