Hi,
Consider binding your form to an ActiveModel not an ActiveRecord class. In
your ActiveModel, you can add in the extra fields that you don't want/have
in your ActiveRecord class. Using ActiveModel will also let you follow the
same idioms in ActiveRecord, such as validation.
Thanks,
Henry
On
Hello,
If I am understanding correctly, you need some mechanism to correlate
several models together, you are hoping to use the created_at and
modified_at timestamps provided by active record, to match the models using
a timestamp.
I see the created_at and modified_at timestamp's as database
2 matches
Mail list logo