You can use different names for the classes, and then set the table name as
needed. Add this to your class:
storage_names[:default]='the_string_name_of_your_table'

..tony..

On Mon, Mar 23, 2009 at 7:29 PM, Stu <[email protected]> wrote:

>
> Hi,
>
> I'm using DM to access a legacy database schema. This schema has
> tables called "repositories" and "collections" and a repository has-
> many collections.  I see these are also concepts and class names in
> DM.
>
> I suspect I'm having "stack level too deep" type crashes with DM
> because of this.  What's the best way to approach this situation in
> DM?  I have already placed the DM model classes in their own module
> but that hasn't helped.
>
> Any advice much appreciated,
>
> Stu
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to