Displaying 20 results from an estimated 100 matches similar to: "Insert blob - rails 1.0.0 mysql 3.23 - sql syntax error"
2013 Jan 11
0
Ruby 1.9.3-p362 segfault fixed (also in RVM)
Ruby team provided a fix for the segfault in ruby-1.9.3-p362 but there is
no release yet.
RVM backports the patch:
rvm get stable
rvm reinstall 1.9.3-p362
Link to the ruby issue https://bugs.ruby-lang.org/issues/7629
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2013 Mar 03
1
Deploy with Capistrano. Bundle install freezes indefinetly.
I am fighting with this for 5 days... i''m getting crazy!
Here is my deploy.rb:
require "bundler/capistrano"
require "rvm/capistrano" # Load RVM''s capistrano plugin.
set :rvm_ruby_string, :local # Or whatever env you want it to run
in. ''1.9.3''
set :domain, ''www.xxx.com''
set :application,
2015 Oct 18
0
[OT] fail2ban update (epel) breaks logrotate
In article <n009u2$85v$1 at softins.softins.co.uk>,
Tony Mountifield <tony at softins.co.uk> wrote:
> Apologies, this is slightly off-topic being to do with an EPEL package,
> although it's running on CentOS6, so I thought others here might have come
> across this issue.
>
> I have five CentOS 6 systems running fail2ban from EPEL, and this
> package was updated
2006 May 17
8
Why can''t I change value of the primary key?
One should be able to change the value of a primary key, right? But it''s
not working for me. If I do this:
@drug = Drug.find(tid1)
@drug.id = tid2
@drug.category = ''Test2''
if @drug.save
savedok = ''Saved successfully''
else
savedok = ''Not saved''
end
I get ''Saved successfully''
2006 Aug 18
1
Rails Blob is dead
Rails Blob is dead.
Go for it Clegg.
--
Posted via http://www.ruby-forum.com/.
2006 Jul 26
1
Uploading BLOB into MySQL
Greetings RoR Folks,
I''ve seen lots of examples that show how to load images into MySQL
databases using RoR with the file actually sitting on the filesystem and
the file path stored in the database.
What I would like to do is upload a file (.jpg, .png, .gif, .mp3, or
.wav) into a MySQL BLOB column so that the file is not on the file
system, but rather in the MySQL database.
The
2010 Apr 03
0
Change from attachment_fu db BLOB to Paperclip S3
Hi:
I have moved from using attachment_fu with files stored in the DB to
Paperclip using S3. The trick now is to migrate the files from the DB
to S3.
I have tried a few methods like:
SThreeFile.create(:file => AttachmentFuFile.first.data)
and
@attachment = AttachmentFuFile.first
SThreeFile.create(:file => ActionController::Streaming.send_data
@attachment.data, :filename =>
2006 Oct 10
0
putting a blob in migrations
What data type would i use in the migration for audio files?
I usually use blob but i do not know if that works with the migration,
should I just use string and change it in MySql to blob?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2010 Aug 16
0
Restoring blob fileds in Mysql
Not really a rails question but someone on here may be able to help..
I have been backing up a MySQL database for a Rails app for several
years with the command: mysqldump myDatabaseName -u root >
myBackupFile.sql
The backups have appeared to work fine...
I then wanted to restore one of the backups to a different named
database so I did: mysql myNewDatabaseName -u root < myBackupFile.sql
2011 Jul 13
1
Upload large files to BLOB
Hi to all.
I''m working with saving big files(~200mb) directly into db.
I have issue with that.
Caused by increased huge use of free RAM(about 3gb of ram and 3gb of
swap) on stage when file saves to db:
@job.pdf = params[:job][:pdf].read
After this is completed there is still some RAM and swap in use.
Is there some way to optimize that?
p.s. project on rails 3.0.3, uses mysql,
2014 Sep 23
2
Playback/background audio from MySQL BLOB
For some applications, storing recorded audio (prompts and caller
recordings) as a BLOB in MySQL has advantages.
So, once I have the audio in the database, how can I play it?
Creating temporary files seems so tacky.
Is there another way to playback or background audio either by specifying
a URL or from a memory buffer (either C or PHP)?
--
Thanks in advance,
2016 Oct 03
0
[Bug 70354] [NVE6, NVE7] HUB_INIT timeout on graph init, blob fw doesn't help
getting same error message. can you address this as well?
Here is output from lspci
1:00.0 3D controller [0302]: NVIDIA Corporation GK107M [GeForce GT 745M]
[10de:0fe3] (rev a1)
Subsystem: Lenovo GK107M [GeForce GT 745M] [17aa:3809]
Flags: bus master, fast devsel, latency 0, IRQ 30
Memory at d0000000 (32-bit, non-prefetchable) [size=16M]
Memory at a0000000 (64-bit,
2013 Feb 11
1
Error: headerRead failed: hdr blob
Hi,
I'm currently at CentOS 5.8 and am applying the latest OS updates available
for 5.8. I'm seeing following error:
error: bind-libs-9.3.6-20.P1.el5_8.6.x86_64.rpm: headerRead failed: hdr
blob(48062): BAD, read returned 515
error: bind-libs-9.3.6-20.P1.el5_8.6.x86_64.rpm cannot be installed
Similar error is seen for other rpms as well.
Any idea?
Thanks,
Anumeha
2015 Mar 03
2
ndr_push_error(6) blob length is too large
Hello all,
I've set the log level of my DC to 3. I'm using it as a file server too
although it is not recommended.
I now have the following errors in log.samba:
[2015/03/03 08:58:54.244106, 2]
../source4/dns_server/dns_query.c:629(dns_server_process_query_send)
Not authoritative for 'versioncheck.addons.mozilla.org', forwarding
[2015/03/03 08:58:54.266123, 1]
2015 Mar 03
1
ndr_push_error(6) blob length is too large
Hi Tim,
On Tue, 03 Mar 2015 12:28:10 +0100, Tim wrote:
> I found this on samba-technical but it seems never to be solved:
> http://samba.2283325.n4.nabble.com/samba-dns-blob-length-too-large-td4643548.html
>
> Should I repost it there? Anyone else having the same issue. My log
> level is 3 and it is found in the samba-log.
Please raise a bug at https://bugzilla.samba.org/ and
2009 Jun 17
1
File UPLOAD and put it on a DB BLOB
@contact = Contact.new
@contact.file_file_name=params[:contact][:file].original_filename
@contact.file_content_type=params[:contact][:file].content_type.chomp
@contact.file=params[:contact][:file].read
@contact.save
the first two elements work,
@contact.file=params[:contact][:file].read results empty, can you say
me where I am wrong.
Sergio
2006 May 22
2
finding out the remote users username ENV[REMOTE_USER] ?
I''m trying to set the modified_by in my user table from the remote user
name. I have htaccess set up for the rails directory but I can''t seem
to get it to read the remote users name. is ENV[REMOTE_USER] the
correct syntax? I searched but I can''t seem to find a definitive
answer. Thank you for any help!
Charlie Bowman
http://www.recentrambles.com
-------------- next
2009 Oct 22
1
[PATCH] nv04-nv40/exa: Reorder the commands in PrepareCopy to match the blob.
This fixes a somewhat indeterministic corruption problem on nv17 when
there is stuff going on the other fifos (e.g. gallium but I've also
reproduced it with an app just SIFM-ing memory around): in some cases
it made the blits the X server had scheduled use the wrong pitch.
Signed-off-by: Francisco Jerez <currojerez at riseup.net>
---
src/nv04_exa.c | 22 ++++++++++++----------
1
2010 Jan 26
1
how do i use a blob appliance the compiling from source
Hi,
Since I've never succeeded to compile libguestfs from source on
Gentoosince the build process of the appliance based on debootstrap fails,
I'm wondering how can I tell the compilation process to use a
precompiled blob appliance?
Also can I use non fedora & debian but use some minimal gentoo based
appliance I have?
Thanks
Alex