hey i am using attachment_fu for photo purposes and i am trying to
pass a hidden value to be stored when a photo is uploaded. i am not
sure how to pass this value. this is my intuitive attempt, but its
not working:
assuming the request parameter "id" is what you want to go into the
"other" field.
Though it would make more sense either to populate that other field in
the controller
on create or in the controller method that sets up and renders the
form like so:
def new
@photo = Photo.build(:other=>"whatever I want other to be")
end