Write to file with a Generator


Is there some way to write to a model file to show a relationship with
a generator?

Like write to a User file for instance? And say "
has_many :testimonials" or something like that? I know i could do this
with Ruby. I was just wondering if there was a rails way.