Displaying 20 results from an estimated 2000 matches similar to: "tab characters with Rails 1.1 on Windows"
2005 Sep 14
9
Sending Emails via Cron
I''m developing an application using RoR that will generate enough email
notifications that I don''t want them in the actual web application. So, I''m
thinking about having an outgoing queue that a cron job would pick up and
deliver. My question is if this is possible with a ruby script that uses
ActiveRecord and ActiveMailer?
2006 Apr 24
7
ImageMagick/Rmagick replacement?
Hi, everyone!
I have been recently hit by ImageMagick/Rmagick memory leak issues.
I know I can lesson the problem by manually starting up GC each time
I use Rmagick library but ImageMagick seems to use way too much
memory nevertheless. (on shared hosting setup anyway)
Is there a decent replacement for ImageMagick library? I used to
think ImageMagick was quite efficient because its
2011 Dec 29
1
rmagick and imagemagick
I am having issues loading imagemagick and rmagick on webfaction.
I have installed a rails app called balder that organizes images.
my main problem is that i can''t seem to upoload the image sthrough balder.
balder uses imagemagick and rmagick
when i use the console and do this:
irb(main):003:0> require ''RMagick''
=> nil
I don''t think rmagick is
2006 Apr 11
8
Ruby 1.8.4, Rails 1.1 and Rmagick?
Someone mentioned that Rmagick doesn''t work properly on this setup (Ruby
1.8.4, Rails 1.1)
Is this true?
--
seth at subimage interactive
http://www.subimage.com/sublog/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060411/432e8113/attachment.html
2006 Aug 07
4
Memory leak?
I am using BackgrounDRb to resize images after they are accepted into
our system. However, it has become clear that this creates a memory
leak. I''m not sure exactly where the leak exists, but I don''t think
it''s in my own code as it is presently being used in production and
has resized thousands of images without a leak occurring, thanks to
calling GC.start
2005 Oct 19
4
ER strikes back
Hi Railers,
A long, long, time ago, i made a Framework/CMS in php.
There were two core models: Content and Content_type.
Content_type was only a list of content types (as expected): new, article, etc.
Content_type was not mandatory, but it allowed later to "deactivate"
types of contents, for example.
So then Content stored the common attributes/properties between the
different content
2006 Apr 15
6
Good image API for RoR?
Hi, I need a relatively simple image api for the app I''m writing. I
need to copy photos, rename them, and re-size them to put them in a
standard format.
I tried using RMagick/Imagemagick, but the photos would be corrupted on
re-size, so I''m looking for some suggestions.
--
Posted via http://www.ruby-forum.com/.
2006 Mar 27
14
Image manipulation/resizing server-side?
I''d like to implement a system in a Rails app where I allow the user to
upload an image file, and then the app takes that image and manipulates
it, saving a thumbnail, small, and original size version of the file to
the server.
How would I go about doing that?
Thanks,
Jeff
--
Posted via http://www.ruby-forum.com/.
2006 Dec 15
6
RMagick=bad, ???=good
I know that Zed has made mention of the fact that using RMagick with
mongrel and rails is a bad thing. I''m currently using FlexImage (which
in turn uses RMagick) on my application and really haven''t had too
many problems. We get a restart for memory usage every 8-10 hours on
one mongrel of twelve running, but I''m not sure if that''s an RMagick
issue. Either way,
2007 Mar 28
3
attachment_fu Not Resizing
Hello,
Recently attachment_fu stopped resizing images for me. I''m puzzled
because before today it was resizing them and I don''t know what''s
changed. Here''s my code:
class Product < ActiveRecord::Base
has_attachment :content_type => :image,
:storage => :file_system,
:max_size => 18.megabytes,
2007 May 23
8
ImageScience, Mini-Magick and RMagick
I''m going to be generating thumbnails from user uploaded images. I''m
looking around at the libraries available to do this sort of thing and
there are three that look promising.
ImageScience -- http://seattlerb.rubyforge.org/ImageScience.html
Mini-Magick -- http://rubyforge.org/projects/mini-magick/
RMagick -- http://rmagick.rubyforge.org/
It looks like a lot of people are
2007 Apr 08
13
attachment_fu thumbnail not created
I followed the instructions on Mike Clark''s weblog and everything
works perfectly except the thumbnail column in my DB is alwas NULL.
I''m using S3 as my storage system. Anyone else having this issue with
thumbnails?
has_attachment :content_type => :image,
:storage => :s3,
:max_size => 500.kilobytes,
:resize_to =>
2009 Jan 19
3
Attachment_fu: save to a default format
Hi, would anyone have any advices on the next?
I allow users to upload images to my app. I''m using attachment_fu and
MiniMagick.
There''s two things that I''d like to do:
1- No matter what format the original file is I''d like to save it in jgp
format.
2- I want to keep all images limited to say 1000px width, so resize if
they are bigger.
Is there a way to do
2006 Apr 30
6
Help, Gruff is killing me
Hi all,
I hope somebody can help me out here, since the issue has been killing
me for the last three days. Here is the issue:
It seems that gruff kills rails/webrick whenever it''s used on win32. I
installed gruff per instructions and it seems to be working. The
sample controller generates a nice grpah with send_data and all. The
issue started once I try to use any other
2007 Mar 07
5
Memory Leaks with Rails 1.2?
I''ve been getting a bunch of reports about the latest Rails "leaking"
memory more than before. Please fill out this survey:
1) Have you noticed an increase in memory usage with the latest Rails
1.2?
2) Have you changed anything else in your application?
a) No, really, don''t be a dumbass like the lusers you hate. Go look
at your svn logs and really figure out if
2006 Sep 22
15
Win XP / Ferret & Acts_as_ferret .dump problem
Hey,
Has anyone managed to bypass or fix the ferret''s .dump method problem?
When I include acts_as_ferret my whole rails app just blows up because
of Ferret''s .dump method. Ex:
---
print "\t hello".dump >> "\t hello">Exit code: 0
---
---
require ''ferret''
print "\t hello".dump >> " hello"(NUL
2014 Jul 04
1
DESCRIPTION.in file causes R CMD check to fail?
hi. i'm building a package using autotools. to propagate the package
version number from configure.ac to DESCRIPTION, i'm using a
DESCRIPTION.in file. both of these files are "shar"'d below.
i need to distribute the DESCRIPTION.in file, as ./configure will need
it. but, "R CMD check" wants to look at DESCRIPTION, so i've let that
also come into the package
2006 Jun 01
9
Image upload
ok, im done, the plugins file_column and acts_as_attachment doesnt seems
to work for me, i want a simple thing, upload images, resize it to 216px
width, save its filename to a table and save the file to the
/public/images directory, i have searched a lot but all the examples are
too complex, im starting with rails.
If someone can post a example code for the view, controller and model(if
any)
2006 Sep 26
1
erb problems
Hi List,
I just read this mail on the rails mailing list, that might be of interest
for ferret. I don''t even know if it is true, that ferret is causing the erb
problems. If it is, then the fix of rmagick might be applicable to ferret
too...
Cheers, Jan
Caleb wrote:
> Sure enough, I did a search and replace for tabs and replaced them with
> spaces. Is this a difference in the way
2005 Dec 20
1
imlib2-loader_jpeg RPM Needed
Hi All,
was trying to install eterm rpm, and got the below dependencies errors,
Eterm-0.9.3-1.i386.rpm
[root at status1 eterm]# rpm -Uvh Eterm-0.9.3-1.i386.rpm
error: Failed dependencies:
imlib2 is needed by Eterm-0.9.3-1.i386
imlib2-loader_jpeg is needed by Eterm-0.9.3-1.i386
imlib2-loader_png is needed by Eterm-0.9.3-1.i386
libImlib2.so.1 is needed by