Displaying 6 results from an estimated 6 matches for "upload_column".
2007 May 28
1
upload_column problems on post after validation error
Hi to all the crew !
I''ve a little (big ?) problem.
I''m using upload_column plugin, it works very well but it throws an
exception when I try to repost the form after a validation error.
Here some details:
Model: (hostel.rb)
HOSTEL_PHOTO_DIR = Proc.new {|inst, attr| "hostel/#{inst.id}"}
HOSTEL_PHOTO_THUMB = "100x100"
HOSTEL_PHOTO_NORMAL = "...
2007 Dec 27
1
File generated with upload_column plugin
I using the upload_column plugin.
In the model i insert this:
image_column :image,:versions => { :thumb =>
''c30x30'',:medium=>''c62x62'', :large => ''600x600'' }
when i upload an image this genera 4 images:
3 images specified in :version
1 image original
I don...
2009 Mar 28
1
Image uploading - upload_column
Hai
I am using upload_column for uploading images. Trying to do the user
registration. For the first time when the user tries to upload image it
works fine. But when try to update the image an error
undefined method `process!'' for #<UploadColumn::UploadedFile:0x6838424>
occurs.
in my view I set the :multipart=&...
2008 Aug 26
1
upload_column NoMethodError
Hi all,
I''m using uploadcolumn plugin for file uploading. Followed the README file.
Put "upload_column :src_file" in my model file as instructed, and i got this
NoMethodError for the upload_column. This is the full trace:
/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:1667:in
`method_missing''
app/models/speech.rb:2
/usr/lib/ruby/gems/1.8/gems/activesupport-2....
2007 Aug 20
0
Raising errors in plugin-files or UploadColumn Validation
...iles. I am using
UploadColumn to upload pictures. Problem is that it won''t raise errors
when upload e.g. txt-files. It will say "Upload succesfull", the
time-stamp is updated only the picture hasn''t changed.
I looked through the code of the plugin and found:
#----File: upload_column.rb
#----Code
[begin]--------------------------------------------------------------------------------------------------------------------------------------
# Note also that unlike RMagicks''s read, this method will return nil
if the image cannot
# be opened, it will not throw an Erro...
2007 Dec 22
2
multiple file upload
Hi,
I want to do a multiple file upload with Ruby. I want to let my users
upload pictures on my website to their account. I''m looking for
something with a nice interface. I was wondering if you knew of any
plugins/gems i can use
THanks :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: