From: shawn bright Date: 2007-06-28T04:05:10+09:00 Subject: ActiveRecord (not necessarily rails) ------=_Part_16188_14950752.1182971111755 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello all, i have been using ActiveRecord in a couple of GUI applications recently and it is working really well. i was wondering though, if it is possible to have a class defined that i can change one of the has_many or belongs_to declarations dynamically. In a model, i declare one like this. class Person ActiveRecord::Base has_many :records now, is the has_many some sort of attribute, class variable, etc... i mean if in my program, i wanted to change the has_many :records to something like has_many :hats how could i do that? thanks for any tips shawn ------=_Part_16188_14950752.1182971111755--