similar to: Clearing a file_column-type field

Displaying 20 results from an estimated 1000 matches similar to: "Clearing a file_column-type field"

2006 Jan 22
3
file_column and tmp files
Hi again... One more item.. the file_column plugin uses a tmp directory inside the /public directory to store a temporary uploaded item. But it looks like this folder is just going to grow and grow. Is there some way to clear this out or not cause this to happen? Thanks once again! -- Posted via http://www.ruby-forum.com/.
2006 Jan 22
12
Problems with File_column
Hi, Rails - newbie here.. I''m setting up an app and am trying to use file_column to upload a picture with an item and I''m running into several problems. (Background: I''m running Locomotive Rails under OS X 10.4.4, and using Safari) I followed the directions to add the necessary items, then found out that I had to add the item to make the form tag be a multipart
2018 Oct 29
2
Should Icecast send the "Connection: close" header?
I'm accessing a server using Icecast 2.4.0. It is streamed using HTTP 1.1 using the Transfer-Encoding: chunked - so far so good. The issue is that the HTTP library I'm using uses connection pooling by default and attempts to re-use connections if the server does not send the "Connection: close" header. As part of that re-use, when you end a request/response cycle, it tries to
2006 Jan 08
2
Filters in waveslim
Dear R Users, For running wavelet functions using dwt( ), modwt( ), and mra( ), a wavelet filter algorithm is applied. For all these functions, default is "la8" and other possibility is "haar". In related documents, another possibilities like as symlet and coiflet ... are not cited. Besides "la8" and "haar", which wavelet filters can be used? Thank
2006 May 12
3
file_column error
Hmm, I''m using file_column and going by this tutorial, the files upload ok and I can see the fields updated in the database, but I am getting this error: "Trying to access file_column, but primary key got lost." Thanks in advance -- Posted via http://www.ruby-forum.com/.
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 Jan 17
2
file_column plugin and instance variables
To make file_column work I have to copy my local variable back to an instance variables like this: <% for product in @products @product = product %> <div class="catalogentry"> <%= image_tag url_for_file_column(''product'', ''image_url'') %></p> This is needed because file_column specifically looks for the instance
2006 Jun 05
1
file_column permissions
this is getting frustrating... i installed file_column without a hitch for the first time to just play around with. using the exact same steps as before, i try to use it with one of my actual applications, and i get "permission denied" errors. i figure there might be some conflict with my application so just for kicks i do the exact same thing i did the first time to test
2006 May 24
3
delete image through plugin file_column ?
how can i delete image through plugin file_column? -- Posted via http://www.ruby-forum.com/.
2006 May 09
3
File_Column Development Dead?
I''m curious if anyone knows if development on the file_column plug in is continuing? I''ve seen some SVN commits from awhile back but no binary releases. Did Sebastian speak at Canada on Rails? Anyone catch that? What is the future of file_column?
2006 Feb 13
3
file_column: uninitialized constant Magick
I am getting this following error when using file_column with RMagick: uninitialized constant Magick /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/ active_support/dependencies.rb:200:in `const_missing'' ./script/../config/../vendor/plugins/rails_file_column/plugins/ file_column/branches/kyle/lib/file_column.rb:621:in `file_column''
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 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
2006 Apr 08
5
file_column
hello, how to generate new image if i do add new version? For example, I add version :small => { :size => "320x240" } . How to tell file_column to generate new image version if image is allready uploaded ? Thank you! -- Posted via http://www.ruby-forum.com/.
2006 Mar 02
2
How to get mime extension with file_column
Is there a way to get the MIME extension of a file_column field? Here''s what I want to do (look for comment in before_save method): class ProductFile < ActiveRecord::Base belongs_to :product file_column :file_name def before_save self.file_type = # something that returns the MIME type (e.g. image/jpeg) end end TIA
2006 Mar 16
2
Questions about file_column plugin
Hi! I''ve got 2 models - let''s call them User and Image. User has_many images. (Thanks to Mark Reginal James :) ) I have a single form where i can create a user and add to him any number of images, which are uploaded using file_column plugin. Now 3 questions: 1. How to change the default path where file_column plugin saves images, so it will save them in a directory, which
2006 Mar 30
1
file_column running tests in production?
I''ve added file_column and RMagick to my application and I''ve started implementing the first uses of it, and noticed something odd. Since adding the file_column plugin, I get this at the bottom of my pages on the live server: "Loaded suite dispatch.cgi Started Finished in 0.00021 seconds. 0 tests, 0 assertions, 0 failures, 0 errors" Locally (on my Windows XP
2006 Jan 12
2
file_column issue: file upload fails without error
environment: Locomotive + Rails 1.0 Max Lighttpd 1.4.8, FastCGI 2.4.0 Ruby 1.8.2 File_column version: 0.3.1 Path to file_column: /vendor/plugins/file-column/ symptom: Uploading a file using file_column fails; no file is uploaded and the "filename" column remains blank. No error messages are produced - a new record is created with blank filename. code and log here:
2006 Jan 12
1
methods for file_column
how do i find the available methods available to my objects in file_column ? I noticed that i can do @post.image_relative_path for my @post object to retreive the relative path. What are all the other options available to my objects thru file_column ? thanks adam
2006 Jan 19
1
partials and instance variables for file_column
Hi, Sebastian Kanthak of the file_column-Plugin wrote once: "is the photo object inside a local variable or an instance variable (e.g. photo or @photo)? url_for_file_column only works with instance variables, like all other active record form helpers. Could this be the problem?" So I''m using file_column in a partial, e.g. <%= render (:partial => "product",