Just wondering...what is an attachment? 
Also...double check category_id for when an item is created. The way I wrote the code originally was that the radio buttons were mapped to category id numbers. Was this from when you ( @CoolJorcz ) created the rake for Category names?