Displaying 20 results from an estimated 500 matches similar to: "activerecord - mysql blobs..."
2006 Mar 28
2
Typo 2.6.0 broken with Rails 1.1
Updated today, got Typo 2.6.0 broken with Rails 1.1 (Ruby 1.8.4) --
WEBrick does not start.
Is there any workaround except "svn co" with Typo trunk?
--
Yaroslav Markin
yaroslav at markin dot net
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 Feb 13
1
hackish error handling
I''ve got a block of code that''s turning out.. well - just plain ugly.
So i know I must not be doing it the Ruby way.
The main problem I''m having is in dealing with handling errors - and
just not finding much Rails documentation that gives a deeper
understanding of how to handle errors in Rails (outside of several
docs on the catch-all''s)
the main method
2006 Mar 05
1
encoding: utf8 in database.yml causes error
Hi
Using ruby 1.8, rails 1.0, mysql 4.1.11
in database.yml:
adapter: mysql
encoding: utf8
database: myproject_development
username: user
password: password
socket: /var/run/mysqld/mysqld.sock
but when I start the error I get:
Can''t initialize character set utf8 (path: /usr/share/libmysqlclient/charsets/)
Can anyone tell me what file it''s looking for, and how I
2006 Mar 28
5
Your RoR 1.1 Adoption Prediction?
What is the likelyhood that major inexpensive webhosts like godaddy,
bluehost, etc. will upgrade to RoR 1.1? Is this going to be like PHP 5
where it has to percolate for a year or more before it becomes widly
available? Your thoughts?
Along the same lines... is it possible to adopt some of the new improved
Ajax / javascript capabilities without actually upgrading the ruby
installation?
2006 Jul 28
7
Uploading 2+ files simultaneously
I''m having trouble uploading 2+ files simultaneously (from different
client machines)...
the upload page just hangs...
I''m running...
- ruby 1.8.4 (2005-12-24) [i686-linux]
- rails 1.1.4
- red hat el 4
- apache
- fcgi (0.8.7, 0.8.6.1)
- firefox 1.5.0.5
- httpd.conf
<IfModule mod_fastcgi.c>
FastCgiIpcDir /tmp/fcgi_ipc/
AddHandler fastcgi-script .fcgi
FastCGIConfig
2006 May 25
2
basecamp prefixes
basecamp prefixes each url with a client name...
client1.updatelog.com/todos
client2.updatelog.com/milestones
any ideas on how this is done?
- one app?
- one app per client?
- one app per domain?
--
Posted via http://www.ruby-forum.com/.
2006 Mar 16
21
RadRails 0.6 out
Since RadRails 0.6 is out (see http://www.radrails.org/ ), I have made a
"celebratory illustrated tutorial" on how to use the Eclipse update function
to do the upgrade from within Eclipse (I found the process a tad confusing):
http://wiki.awebfactory.com.ar/awebfactory/published/UpdateRadRails
saludos,
Victor Kane
awebfactory.com.ar
-------------- next part --------------
An HTML
2006 Mar 30
10
Problems upgrading to Rails 1.1
Hi All,
I just tried to upgrade to Rails 1.1 on my Linux server and had the following
issue when running the second part of the upgrade.
[root@localhost ~]# rake rails:update
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1635:in `load_rakefile''
(See full trace by running task with
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 Mar 30
13
need an Ruby on Rails IDE
Hello everybody,
I''m a new member on Ruby on Rails.
I''m friendly on using Microsoft Visual Studio (VS) IDE.
The VS IDE supports for Intellisense coding (that mean it will
automatically display a list of member variables or functions for a
class, struct, union, or namespace; the names and types of parameters
required by a function or attribute; and the complete declaration for
2006 Mar 13
3
Translate to one language: Globalize is overkill?
Hi,
I am developing a Rails application which should be in ONE language (not
English).
Globalize seems overkill for this purpose (do you agree?).
So I''m trying some of the approaches on the wiki. In particular:
http://wiki.rubyonrails.org/rails/pages/OverridingRailsMessagesInAnotherLanguage
This *does* override the month names, but does *not* override the error
messages.
I''m
2006 Feb 27
2
Read IMAP
Hello,
I have a question about IMAP : I want read a IMAP mailbox in my
application.
I have found 2 pages about this :
http://wiki.rubyonrails.org/rails/pages/HowToReceiveEmailsWithActionMailer/versions/203
http://www.codefetch.com/search?qy=login&lang=ruby
But, Rails don''t want use ''net/imap''. So I can''t =(
Thank you for your help
pmt
--
Posted via
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 Jan 23
6
Ruby at O''Reilly Rough Cuts
Not sure if this is old news or not, but it would appear that both the
Ruby Cookbook and a Rails book are now available for purchase at
O''Reilly Rough Cuts (something akin to PragProg''s beta book program):
http://rubyurl.com/nHz
http://my.safaribooksonline.com/?mode=roughcuts&srchtext=ROUGHCUTS
I haven''t tried them yet, but it definitely seems worth checking out.
2006 Mar 19
38
Macbook for Rails Development
Hi All,
I''ve finally got fed up of struggling with Windows and am on the verge
of splashing out on a Macbook for Ruby/Rails development. I''ve seen
DHH''s post about it on loudthinking but I wondered if anyone else has
any more wisdom...
Is it worth it over a powerbook? Any tips on good OSX apps for Rails
dev (textmate, i know already)? Anything not working well on
2006 Jul 18
2
FLV Player
I need a flv player - any recommendations?
--
Posted via http://www.ruby-forum.com/.
2005 Jun 20
1
voicemail system
Hello,
I wish to use asterisk as a voicemail server with ser
.
I want to use asterisk external configuration toHello,
I wish to use asterisk as a voicemail server with ser
.
I want to use asterisk external configuration to
manage users and storing voicemail messages according
to ser database.
Where can i find the schema of the SQL DB for
voicemail accounts .
for example in extconfig ;
2006 Jun 07
1
Upload to DB hang mentioned in wiki
I''m uploading files to a mysql database, using a mediumblob size.
Following the wiki here:
http://wiki.rubyonrails.org/rails/pages/HowtoUploadFiles ,
I got past the first mysql 500kb limitation with the max_allowed_packet = xM
trick, setting it to 1000M.
However, as the person at the very bottom of the wiki notes, I too cannot
upload more than around 10mb.
I also tried the suggested
2008 Dec 16
4
RDNIS and asterisk
I have a couple of numbers that are diverted to a number that is
conected to an isdn30 card, running asterisk 1.4.
eg.
123456 => 22334455
654321 => 22334455
What I would like to know is the number of the orginal number dialled
(123456 or 654321). I thought that RDNIS was the answer, but it is
always coming up blank.
When I did a debug on the pri span, I saw the following message