On a forum I discovered this. That was intended for to use on just one
model:

module SharedStuff
     self.abstract_class = true
     self.table_name = 'footable'
     self.table_name = 'bartable'
end

class Foo < ActiveRecord::Base
   include SharedStuff
end

class Bar < ActiveRecord::Base
   include SharedStuff
end

Surely, this overrides the Rails conventions, but that's what i intend
to achieve. Can I do this in one model? Is this true? Can you verify
this example take from here:
http://groups.google.com/group/rubyonrails-deployment/browse_thread/thread/4244ed959648dc8a
?
Hope you can help me.

Later

The Neurochild
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to