similar to: help! file_column permission

Displaying 20 results from an estimated 200000 matches similar to: "help! file_column permission"

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 Jan 17
3
file_column :root_path question.
I''m developing on Windows and deploying to FreeBSD+lighttpd using Switchtower and I''ve got things generally working. My problem now is that file_column data gets zapped every time I deploy, because Switchtower creates a whole new myapp/public directory with each rev. I looked through the file_column docs and found the :root_path option, which I use in my models as follows:
2006 Aug 09
3
file_column and versions acting up...about to spit blood and kill people. please help.
Hey railsers...anyone run into this problem? I''m developing an app which I''m deploying with Capistrano. That being said, I''ve stuck all the file_column goodies in public/system/... During my deployment script I chmod -R that directory and everything in it to make sure www-data (the apache user/group) has access to it. In development mode on my Macbook I can upload
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 Aug 05
3
Uploading/file_column and Mongrel
Howdy, I recently switched an app to Mongrel and since the switch, when I upload files using the file_column plug-in, the files are not uploaded with the correct permissions. I want something like this: -rw-rw-rw- file.jpg But I am getting: -rw------- file.jpg So, of course the files aren''t being served up by the Web server. Mongrel is running as the ''mongrel''
2006 Jul 14
5
file_column and has_many
I''ve been fighting with myself over this for the past week, and would like to hear some others'' thoughts on the subject. I essentially have the following models in place: class Item < ActiveRecord::Base has_many :images end class Image < ActiveRecord::Base belongs_to :item file_column :filename end In my view, I have javascript that basically creates N
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 Jul 13
0
file_column
Hello all, another rails newbie here. I''m working on an project to simply upload pictures with some extra information, I was able to get uploads working thanks to file_column, however, a couple things are troubling me. First of all, according to the file_column website, displaying images should go like this: <%= image_tag url_for_file_column("entry", "image")
2006 Apr 22
1
using file_column
I''m trying out this recipe from the Rails Recipes book (the tagging one) but I''m also trying to use file_column to handle the uploading of pictures. Basically I think the problem is I''m not using an instance variable in the view''s partial that shows the details of my item. Off of my original list.rhtml page I have a <%= render :partial =>
2006 May 02
2
Mechanize and file_column
Hi all, Has anyone successfully used WWW::Mechanize with file_column? I''m trying to upload a bunch of images to a custom controller, and something''s going wrong with the parameter names. Using a noddy controller :create action that looks like this: def create render :text => params.inspect end I get this result from a manual upload from a form:
2006 Aug 05
4
file_column just will not work...
Hello, I have been trying for some time to get a file to upload using the file_column plugin. My code is here: http://pastie.caboo.se/7304 But my code is not the issue. I cannot even pass the unit test that come with the file_column plugin. If I run ruby file_column_test.rb i get: 1) Error: test_store_dir_callback(FileColumnTest): TypeError: can''t convert Fixnum into String
2007 Nov 20
3
How to rename image file before saving it using file_column?
Hello, I''m playing with the file_column plugin and I would like to rename the file when uploading it and before saving it to DB. I''ve tried it with before_create method in my model and also in the controller with the following code: @picture = Picture.new(params[:picture]) @picture.filename = ''newname'' Which doesn''t worked. How it could be done (if
2006 Dec 17
1
file_column error: StringIO Instead of Temp_File
Hi all, i am using file_column to upload 3 images from the same form, they are all different names and DOM IDs so there isn''t a problem with the multiple upload. The problem is when i try to upload a file (or 2, or 3) sometimes it works, but sometimes i get this in the log file: "bar_image"=>{"file_temp"=>"",
2006 Jul 20
1
file_column - assigning with an actual file rather than a multipart
Hi there, I''m using the wonderful file_column and have struck an issue that someone might have seen before. My images already sit on the server. So, instead of passing a multipart message I''m sending a file object. Something like... f = File.new("public/gallery_images/builder.png") p = Product.find_first p.image = f p.save On the save I recieve an error 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 Mar 26
2
File_Column plugin causes strange errors on windows
I installed the File_Column plugin and setup my relationships. create_table "screenshots", :force => true do |t| t.column "image", :string, :limit => 255, :null => false t.column "description", :text t.column "created_on", :datetime, :null => false t.column "item_id", :integer, :null => false t.column
2006 Feb 21
4
File_Column w/ Dynamic Sizing
I''m running file_column 0.3.1, and having a few problems... which are: - Uploading a 378x567 jpg, and using :magick => {:geometry => "100x100" }, my image ends up being 67x100 ? Is there a way to "force" the image to be the size you specify ? - My view has a drop-down of sizes, and I''m trying to pass in this size into :magick =>
2006 May 28
4
File_column trouble, advice needed
Finally i have RMagick and the file_column plugin installed, but at the time of uploading images i have trouble, i get "uninitialized constant ArtImage" error and other errors, im following the instructions on http://wiki.rubyonrails.com/rails/pages/HowToUseFileColumn but doesnt seems to work, this its the code im using: #----view <%=
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 Feb 17
0
file_column generating random empty images
Hi all, I emailed Sebastian awhile back about this, but I know he is busy, so I''m asking for your help. I''m using the latest version of file_column from SVN, or the non-SVN version (doesn''t matter), but on some files, file_column will create 0kb files. The tmp directory will contain the correct file size, and I copied the temp over the 0kb file, and then it