Displaying 20 results from an estimated 200 matches similar to: "Upload to DB hang mentioned in wiki"
2006 Mar 21
4
activerecord - mysql blobs...
I''m struggling with activerecord and mysql blobs (uploading files)...
blobs over 400K-ish cause the below exception...
ActiveRecord::StatementInvalid in File#upload
Mysql::Error: Lost connection to MySQL server during query:
I''ve tried blob, mediumblob, and longblob...
I''m using windows xp for development - and have not installed the mysql
gem...
simlar google
2007 Jun 17
1
Problem: Upload file size limit to 500KB
hi,
i''m sure some of you had come across this problem before, but i was
unable to find the answer after spending quite some time searching.
i have a basic file uploader, code similar to rails recipe (or rails
manual).
problem occurs when i try to upload files (images) greater than 500KB.
the largest file i could upload was 493KB and i''ve uploaded a bunch
files under 490KB and
2006 Apr 27
7
SuperImage plugin
Greetings all,
This is the first release of the SuperImage plugin. The idea is you
upload images to the database, and then pull them out at any size you
want. Combine this with caching and it will stay light and fast.
More info and instructions are here:
http://beautifulpixel.textdriven.com/articles/2006/04/27/superimage-plugin-making-resizeable-uploaded-images-easy
svn:
2006 Jul 13
2
Iframe upload indicator
I''m using the iframe trick to upload files with form_tag and a target
pointing to the iframe. All is working, but I would like to display an
indicator of the upload. All I want to do is show a hidden animated gif via
Element.show. With form_remote_tag, i could use the :loading and :complete
callbacks to do an Element.show and Element.hide. How do I achieve a similar
effect with form_tag?
2006 Jun 27
2
Render partials in folders
Right now I have partials in a view folder corresponding with my controller.
ie: controller: example, view: example/_partial.rhtml
and I call it with render :partial => ''partial''
How do I add the partial to another folder and call it?
ie: controller: example, view: example/new_folder/_partial.rhtml
render :partial => ''new_folder/partial'' # does NOT work
2006 Dec 02
1
How to Set Max File Size for Upload?
I used to use <input type="hidden" name="MAX_FILE_SIZE" value="100000"
/> in my PHP days, but it doesn''t seem to work with Rails. I always
thought MAX_FILE_SIZE was an HTML spec, but upon a little research, it
looks like it is PHP specific. Can anyone confirm?
Anyway, I want to prohibit a user from uploading large files. For
instance, the user has the
2008 Oct 08
11
Using image_tag and send_data
I am using image_tag to load an image that I''ve saved to the database
(using attachment_fu if you''re curious but that''s probably not
relevant here):
VIEW
<%= image_tag ''/photo/get_image/5'' %>
CONTROLLER
def get_image
@photo=Photo.find(params[:id])
send_data(DbFile.find(@photo.db_file_id).data,
:type =>
2006 Jul 10
1
:revert => false for Droppables
Right now I am using page.remove and page.insert for some complex nested
moves in RJS. I have my draggables set to revert, but they also revert when
they hit a droppable.
Meaning, the draggable will start reverting for part of a second before the
page.remove kicks in. Is there a way to specify :revert => false for the
drop_receiving_element, or something else to that affect?
--
Respectfully:
2006 May 04
0
File upload directly to DB
I''ve created file upload functionality based on the wiki
HowtoUploadFiles. I''m in development mode running the newest version
of rails and ruby. I''m using the development WEBRICK web server. The
database is MySQL 4.1. I''ve updated the max_allowed_packet
setting=32M.
The problem is that file uploads get stuck at sizes of 8mb or greater.
Sizes below 8mb work
2010 Nov 18
0
max_allowed_packet mysql
Hi
I am using rails 2.3.8 with mysql 5.1. In my attachment model the
validation was
validates_attachment_size :attachment, :less_than => 2.megabytes,
:message => "Upload file size should not exceeds 2 MB"
And my /etc/my.ini has
max_allowed_packet = 16M
The above worked perfectly. But now I need file limit size as
10 MB instead of 2 MB. So I changed validation
2006 Aug 08
1
File upload into Mysql (using lighttpd) problem
Hello All,
I''ve run into a snag. (I apologize in advance. I''m not very good at
system administration.)
I''m building an app that allows users to upload files. Up until now I
have been storing the files on the file system, but tonight I decided to
change the app so the files are stored in the database as a longblob.
I thought everything was working great, until I
2006 Jan 30
2
Rake and NOT using schema.rb for clone_structure_to_test
Is there a way to specify not not use schema.rb but instead using a
native sql file to clone structure to the test db? Schema.rb doesn''t
really work that well for mediumblobs ... Thanks.
--
Posted via http://www.ruby-forum.com/.
2011 Feb 09
2
patch mentioned at FOSDEM to disable UDP packet drop out of sequence
During Brandon Black presentation I heard that was developed a patch
to prevent loss of UDP packets when tinc detects a replay attack.
Is possible to have a look at that patch ? :)
Saverio
2009 Jun 19
0
Odd module mentioned during update of kernel-PAE
During my update from 5.2 to 5.3 I saw these lines during the update
of kernel-PAE
Installing : kernel-PAE [153/477]
Warning: Module vboxnetflt.ko from kernel 2.6.27.12-170.2.5.fc10.i686 has no modversions, so it cannot be reused for kernel 2.6.18-128.1.14.el5PAE
Warning: Module vboxdrv.ko from kernel 2.6.27.12-170.2.5.fc10.i686 has no modversions, so it
2014 Mar 06
0
Re: ISO refuses to let vm starts (and is not mentioned in config)
On Thu, Mar 6, 2014 at 12:16 AM, Mauricio Tavares <raubvogel@gmail.com> wrote:
> Trying to start one of my vms, a centos one at that, but am
> getting the following message:
>
> [root@vmhost ~]# virsh start voip --paused
> error: Failed to start domain voip
> error: cannot open file
> '/var/tmp/FreePBX-5.211.65-3-x86_64-Full-1388073872.iso': No such file
2007 Mar 20
0
[LLVMdev] LLVM mentioned in Ars Technica
http://arstechnica.com/journals/apple.ars/2007/03/19/apple-putting-llvm-to-good-use
Mentions last week's Bossa Conference.
2009 Feb 17
1
[LLVMdev] Clang not mentioned on web site?
Why isn't the clang project mentioned anywhere on the main llvm
web site?
-DeLesley
2000 Nov 24
0
KbdInteract not mentioned on sshd.8, cryptocard?
Hello all,
I just noticed that 'KbdInteractiveAuthentication' is not mentioned in
sshd.8 or anywhere else on the man page. Someone with better knowledge
about it than me, please fix this :-)
Also, there were talks about supporting cryptocards about 3 months ago.
Is there work being done on this?
--
Pekka Savola "Tell me of difficulties surmounted,
Pekka.Savola at
2009 Apr 25
2
patches mentioned in bug report comments
Where are the patches mentioned in the bug report comments? The specific one I'm refering to is http://bugs.winehq.org/show_bug.cgi?id=15323#c12. The comment mentions that it's attached, but I can't seem to access the attachment.
2008 Sep 15
1
CentOS 4.7 Release Notes on the wiki not mentioned in the announcement
It was unfortunate that the CentOS 4.7 release announcement did not
refer to the Release Notes on the wiki:
http://wiki.centos.org/Manuals/ReleaseNotes/CentOS4.7
I propose to put this link in the Download page (
http://wiki.centos.org/Download ) instead of, or in addition to, the
current link which points to the 4.7 announcement.
Akemi