# Acts as attachment thumbnail problem

**URL:** <https://www.ruby-forum.com/t/acts-as-attachment-thumbnail-problem/110395>\
**Category:** Rails\
**Created:** [July 26, 2007, 12:47am UTC](https://www.ruby-forum.com/t/acts-as-attachment-thumbnail-problem/110395 "2007-07-26T00:47:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![woodhen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/5e9695/32.png) [@woodhen](https://www.ruby-forum.com/u/woodhen)\
**Post date:** [July 26, 2007, 12:47am UTC](https://www.ruby-forum.com/t/acts-as-attachment-thumbnail-problem/110395/1 "2007-07-26T00:47:37Z")

</div>

Hi there  
I am using Acts as attachment to store thumbnails in a file system.  
That part works fine 🙂 Along with my pic form I’m sending other  
information and I want to store that information in the thumbnail row  
as well as the parent image row… but I can’t figure out how to do  
it! The info is stored in the row that contains the original img info  
with no problems, but I’d like to populate the fields in the thumbnail  
row aswell (where parent\_id is populated). I’m a ror newbie so the  
answer is probably glaring obvious but after spending hours trying to  
figure out I’m totally stuck! I’m using the standard  
acts\_as\_attachment methods and classes but just want to pass that one  
extra parameter to the db table to be stored against the thumbnail  
row…  
Does anyone have any ideas?  
Thanks in advance…
