search for: ihavebeenthinkingaboutyou

Displaying 1 result from an estimated 1 matches for "ihavebeenthinkingaboutyou".

2006 Mar 27
1
file column inserts wrong file url field into database
...ot;, "action"=>"entry", "controller"=>"entry", "entry"=>{"image_temp"=>"", "image"=>#<File:/tmp/CGI22011.1>}} SQL BEGIN SQL INSERT INTO entries (`entry`, `image`) VALUES(NULL, ''ihavebeenthinkingaboutyoual.gif'') SQL COMMIT so i end up with null value for my entry object. funny thing is if i put this in the entry view: <%=image_tag url_for_file_column "entry", "image" %> while submiting it from another .rhtml file, i get a correct path and the image sho...