search for: largeblob

Displaying 2 results from an estimated 2 matches for "largeblob".

Did you mean: largeblock
2006 Apr 05
6
How to Upload Image through RoR??
Hi, I have one form , in which I am using file_field teg for input image file as follows. ===== <%= file_field("store", "picture") %> ======= Tha Actual fileld name of my Image field in Database is "store_photo" with datatype LargeBLOB. & Inside my Store Model I have specified "def picture" as follows:- ========================= def picture=(picture_field) self.store_photo = picture_field.read end ========================= Now When I am trying to Uplaod file by submitting form I am getting error like:- =======...
2006 Jan 08
0
migration with blobs
Hi all, I am trying to use migrate on my application and works great except for the blob elements in my schema. MYSQL wants me to declare LARGEBLOB for images the size I need to store but unfortunatly migrate seems to just declare :binary as plain ol'' blobs. I like the idea of a database agnostic database description but I''d like to find away to specify the size of the blob elements. Anyone know if there is a :size parameter...