are you using any plug in for file field like attechment_fu or paperclip . if yes please type
Virtual attributes in your model? not sure if I understand your problem as I’ve never done file uploads with Rails.
def my_non_db_field
end