Displaying 1 result from an estimated 1 matches for "arosection".
Did you mean:
addsection
2006 Jul 20
0
Refactoring common code to module
Hello Ruby users,
I am stuck with the following problem:
I have an access control list system, with multiple group, section and
base classes. There are several section types (AroSection, AxoSection,
AclSection etc.), several group types (AxoGroup, AroGroup) and several
base Types (Acl, Axo, Aro, Aco).
These share some common funcionality that only differs by name of the
associations.
module GACL
class AclSection < ActiveRecord::Base
set_table_name "gacl_acl_sec...