I have two models like this:-
Model 1 - card - contains a representation of data of interest for front page
attachment name = cardimage
Model 2 - user - contains the user
attachment name = avatar
When I create! a new card, I want the avatar from the user model to be copied to the card model as a new cardimage.
Is there a simple one liner for this?
Ruby/Rails/Paperclip