Displaying 20 results from an estimated 2000 matches similar to: "File Column woes"
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 May 12
11
Stupid? question about if else logic
this seems so stupid, I keep thinking I''ve dealt with this before but I
have this code
<h1>Portraits</h1>
<% if @image.portrait == 1 %>
<%= image_tag(url_for_file_column ''image'', ''file'', ''thumb'') %>
<% else %>
<h1>Landscapes</h1>
<%= image_tag(url_for_file_column
2010 Oct 27
1
"non-numeric argument to binary operator" error while reading ncdf file
Hi everyone,
I am a newbie in R and in this discussion list. I am trying to use R package
"ncdf" to read values of temperature from a NCDF file. I did it before to
another file using the function "get.var.ncdf", but now there is an error
that I can not solve, and I would really appreciate if you could help me.
I am using R version 2.11.1 (2010-05-31) in a machine with Linux
2006 Jun 24
2
using flickr.rb
Does anyone have any experience with using flickr.rb? Seems the only
thing which is documented for it is searching through your photos.
Anyway, all I''m trying to do is return a list of my 20 most recent
photos, but nothing seems to work.
doing this returns 100 photos for a given user (which takes all day to
load)
@flickr = Flickr.new ''API KEY''
@user =
2006 Apr 30
8
format numbers as words
Does anyone know if there is a function available which can format any
entered number as words?
eg: ''1234'' would be ''One Thousand Two Hundred and Thirty Four''
In the past, I would have said this is a tall order, but from what I''ve
seen with playing with rails for a short time, I don''t know what to
expect. :)
Thanks for any help,
Damien
2006 Jun 15
2
Custom database forms input and display ??
I read through the entire agile web book and started over from scratch
now to see if I can start my own project..
I need to understand how admin/new.rhtml <%= render :partial => ''form''
%>
is creating the forms and telling it to input data into the tables
I have it talking to a different table this time and in list.rhtml <%=
column.human_name %> I can get it
2006 Apr 16
2
AJAX effect when inserting new div
Can some one point me in the right direction?
I''ve got several pages that will respond to user input by creating a new
div in the content area. I want that new div to visually expand into
view or flash with a background color rather than just appear.
Thanks.
--
Posted via http://www.ruby-forum.com/.
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 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 Apr 25
7
[TIPS] File_column plugin and multiple file uploads
No..i am not a full time rails developer...i code in pl/sql for paying my
bills...and i am just working on a pet project...so i had some trouble in
doing..what i specify in the subject.....now somehow i solved this
problem...so those interested can look at the code at:
http://hemant.wordpress.com/2006/04/25/file_column-and-how-the-fuck-it-handles-multiple-files/
I write this mail and
2006 Jul 07
7
file_column repository broken?
I really want to try out file_column but the repository seems to be down
for me. I added it to my repository list and script/plugin is unable to
see anything in it.
I downloaded an archive from the website but it is not clear to me which
files need to be installed to which subdirs of my RoR project.
Anyone else having this issue with the repository? I am able to see
other repositorys no
2006 Jun 07
7
file_column image versions
does anyone know much about resizing different versions of images with
file_column? i tried it and everything works fine, but my question is
can you do more than just make sizes with a version of image? i''m
working on a photo album and i would like to resize the image to a
medium size, but create a thumbnail as well and crop anything left to
make the thumbnail a perfect square.
--
2005 Dec 31
4
How might I use file_column for incoming email attachments?
I''m writing a ''Mailman'' model that catches emails sent to my
application (kind of like backpack, I think). The trouble is that
I''d like to save image attachments in the same was that file_column
saves them--in fact, I''d really like to use a simple assignment like
photo.image = attachment to save the image in its proper place.
However,
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 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
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 09
5
form with more than 1 file upload field saves 0 byte file for 1 file field
Im using the file_column plugin to upload files from my application. The
problem I am encountering is that I have a form with 2 file upload fields
and when I submnit that form with files selected, I would get a message from
the browser(Firefox) saying that a script on the page is taking a long time
to execute and whether I want to cancel it or continue. Whichever option I
choose, only 1 file(PDF)
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 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 Jan 09
7
File_column Dynamic directory
I asked this question earlier and did recieve an answer but I am not
sure Ifully understood the answer as I am getting all sorts of
errors when trying to implement.
Basically I want to add a layer to the path for my files. I have the
following set up in my model class:
file_column :image,
:store_dir => :dynamic_dir
def dynamic_dir