I m trying to link into the process of setting an belongs_to attribute
in my model. Unfortunetly, it does not seem to be as easy as for
I ve tried the following:
class Treatment < ActiveRecord::Base
However, that does not work. Ive also tried self[:drug] = new_value...
However, that is also not working.
Thanks a lot in advance.