Displaying 20 results from an estimated 2000 matches similar to: "file_column: uninitialized constant Magick"
2006 Feb 16
4
file_column :: changing image with object.update
Dear all,
file_column now works fine with object.save i.e., it updates my
database field with the correct image file name and places the image
file into the correct public folder.
However, I cannot get file_column to work the same way with
object.update when trying to change image. It only updates my field
with the image file name. However, the new image is not copied into
the correct
2006 May 07
1
file_column problem - uninitialized constant Magick
Hi,
I''m on Windows and getting the following error while trying to use
file_column with RMagick,
uninitialized constant Magick
C:/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in
`const_missing''
#{RAILS_ROOT}/vendor/plugins/file_column/branches/kyle/lib/file_column.rb:621:in
`file_column''
I installed file_column by
2006 Mar 04
13
file_column
Restricting size of an uploaded file, is how is that possible? If I
do not want a user to upload a file larger than X bytes, can it
easily be done?
If I also would like restrict the types of files that can be
uploaded, how may I do so?
Thank you,
Sharkie
2006 Apr 23
3
Does AJAX form_remote_tag remove "\r\n"?
When I submit textarea with "\r\n" inside its content, all the "\r\n"
are gone at the receiving end? Is there a known behavior I should be
aware off? Or should I start looking some where else.
Thank you,
Sharkie
2006 Mar 24
3
Performance slow down with increasing log files size?
Dear all,
I have been noticing this.
Whenever I delete my log files and restart lighttpd, my rail site
runs very fast.
However when my log files become large, my rail site becomes slower.
Then I repeat the process of deleting log files again, and my site is
fast again.
Is this a normal behavior? Is there something I can do to make
performance scale better?
Thank you,
Sharkie
2006 May 17
2
uninitialized constant Magick Please help!
Dear Rail experts,
thank you for such a resourceful list.
I am working on an application using Rails 1.1 [REVISION=4240] whereas my server has Rails 1.0 installed.
I recently decided to give file_column a try and everything works fine except I am getting the following error:
"uninitialized constant Magick"
I have tried setting environment variables,
2006 Jan 05
5
File_column crashing WEBrick when using :magick options
I''m trying to use file_column in an app I''m writing. Simple file uploads
are working fine.
However, when I try and use the :magick options to make resized
versions, WEBrick dies.
This is the Media model:
class Media < ActiveRecord::Base
file_column :media_item,
:magick => {
:versions => {
:thumb => {:size =>
2006 May 30
2
Strange error
I have been getting the following error everyonce in a while. Can
someone please suggest what could be going wrong with my system? It
happens about once every 3 weeks. I resolve this by rebooting my server,
although I never tried to figure out what is the real problem.
Sharkie
2006-05-30 16:53:49: (mod_fastcgi.c.1561) connect failed: 386 Connection
refused 111 0 /tmp/site.fcgi.socket-2
2006 Jun 04
4
"can''t convert Magick::GravityType into Integer"
Am having trouble with file_column -- on certain crop operations, it
says:
A TypeError occurred in [controller]#[action]:
can''t convert Magick::GravityType into Integer
[RAILS_ROOT]/vendor/plugins/trunk/lib/magick_file_column.rb:90:in
`crop''
Any advice? Here''s the backtrace:
[RAILS_ROOT]/vendor/plugins/trunk/lib/magick_file_column.rb:90:in
`crop''
2006 Jan 09
5
file_column content type
is there a way using the file_column plugin to enforce a certain
content type based on regex (i.ie, /^image/) and/or filesize (150k)
?
thanks
adam
2006 Mar 02
0
path problem with file_column and :magick options
Hi there,
I''m having some problems wityh the :magick options in file_coumn and
wondered if anyone else had any similar ones:
basically, file_column is working fine for me as is, but whenever I try
to do an automatic resize or thumbnail I get the error ''invalid image''.
It seems to be a path issue as I get:
unable to open image
2006 May 15
4
Anyone got a copy of File_Column trunk
Anyone able to post a copy of the svn trunk of file_column? The
website''s been down for the past few days, and I''ve only got the last
release (0.31, I think), which is missing a whole load of goodies.
Tx
2006 Jan 16
3
file_column error
Hi, Sebastian
I downloaded FileColumn plugin and love the concept. But when I
tried the example listed on the plugin web site, I got the following
error:
NoMethodError in Entry#new
undefined method `file_column'' for Entry:Class
My environement is Red Hat linux 9.0 with mysql 4.1. I installed
file_column under vendor/plugins. If I run "ls", I get the following
2005 Aug 17
7
(newbie) #{method}_relative_path empty (file upload 0.1.2)
first off, thanks (a lot!) sebastian for creating this module... I''ve
been spending a lot of time in getting file uploads to work.
inside a project I''m working on, I''ve got two different models using
it... with one of them it''s working just fine. with another,
everything works, with the exception of the url_for_file_column
helper, which shows
2006 Jul 19
0
Magick::GravityType Error
Trying to get an app up and running using file_column on Dreamhost, I
run into this error on submitting an image to upload:
can''t convert Magick::GravityType into Integer
#{RAILS_ROOT}/vendor/plugins/file_column/lib/magick_file_column.rb:90:in
`crop''
...
I half thought I found the hosting provider specific error in googling
and finding this thread:
2005 Sep 09
5
file_column: patched for imagemagick and validation
Hi all,
I patched file_column to add imagemagick transformations of uploaded
content. I added an options hash, and it takes the :magick and
:format keys. :magick is a string of imagemagick command line options
for convert (Reference:
http://www.imagemagick.org/script/convert.php). Format is an optional
extension for the finished image. If Imagemagick recognizes the
extension, then it will
2006 Jan 16
6
file_column plugin error
Hi,
I downloaded FileColumn plugin and love the concept.
But when I tried the example listed on the plugin web
site, I got the following
error:
NoMethodError in Entry#new
undefined method `file_column'' for Entry:Class
My environement is Red Hat linux 9.0 with mysql 4.1. I
installed file_column under vendor/plugins. If I run
"ls", I get the following directories:
2006 Feb 03
3
File_column and rmagick options
Hi,
Currently I''m using the file_column plugin to upload images and save
multiple copies of each at 3 different resoltions:
file_column :name, :magick => {
:versions => { "thumb96" => "96x150>", "medium250" =>
"250x400>", "large480" => "480X640>" }
}
I am wondering if
2006 May 30
3
plz help ~> new to file_column
i am trying to figure out how file column works so i can play with it a
little bit on my site. i have installed it as a plugin to my rails
application, copied the snippets on both model and view but when i try
to run the page, i get an error saying "undefined method
`file_column_field''"
did i do something wrong or is something not installed?
--
Posted via
2006 Aug 17
3
file_column plugin + rails 1.1.6
Hello,
I need to install file_column plugin but I got an error message.
This is the command I use:
./script/plugin install
http://opensvn.csie.org/rails_file_column/plugins/file_column/trunk
This is the error:
Cannot find gem for Rails =1.1.4:
Install the missing gem with ''gem install -v=1.1.4 rails'', or
change environment.rb to define RAILS_GEM_VERSION with your