i have been using ActiveRecord in a couple of GUI applications recently
it is working really well.
i was wondering though, if it is possible to have a class defined that i
change one of the has_many or belongs_to declarations
dynamically. In a model, i declare one like this.
class Person ActiveRecord::Base
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
how could i do that?
thanks for any tips