Displaying 2 results from an estimated 2 matches for "enherit".
Did you mean:
inherit
2006 Mar 09
0
acts_as_encapsulating / acts_as_inherit
Hey,
The rails ORM is great...
But there is no support for enheritance except for the singletable enheritance.
So we''ve come up with the idea:
Create a piece of code that allows the programmer to encapsulate / inherit
objects in a easy way.
One example of it''s practical use.
Imagine a system where you have to store clients, employees and part...
2006 May 04
1
Multiple database problem in rails 1.1 ?
Hi ...
We are constructing at rails GUI using two differant databases, and this
seems to work out nicely using a "establish_connection" per model, where
each model enherit directly from ActiveRecord::Base.
But ! I like to use a model where we can inherit from one parent class
that handles the connection exactly as descripted in this document :
http://blogs.pragprog.com/cgi-bin/pragdave.cgi/Tech/Ruby/Connections.rdoc
The only problem is that my database (postgres)...