similar to: file_column do download from URL

Displaying 20 results from an estimated 300 matches similar to: "file_column do download from URL"

2006 Jul 30
1
FileColumn - Validate Before Saving
file_column is great -- but I need a way to run through the validations (ie: validates_file_format_of) before saving. That is, when a user first uploads an image it is displayed in the view but not ''saved'' until they click the ''Save'' button on the form. I want to display an error message/disable the ''Save'' button if the file they just
2006 Sep 23
8
acts_as_rateable plugin help!
Hello, I am having some trouble figuring out how to use the rateable plugin. i followed as close as the directions located at http://www.naffis.com/blog/articles/2006/08/31/rails-ajax-star-rating-system but i fail at working it. i am getting this error You have a nil object when you didn''t expect it! The error occured while evaluating nil.rating Extracted source (around line #1): 1:
2006 Mar 15
2
Route for any image?
I want to create a route for any image. This is in order to create an email report explaining what the missing image is. I could create a route for each directory that currently has images in it but wanted something more general like: map.connect "/**/*.gif", :controller => ''image_handler'', :action => ''handle_image'' Which doesn''t
2006 Aug 19
22
Wazzup with the rubyonrails-talk Google Group?
I just got a Google Groups notification that I had been subscribed to http://groups.google.com/group/rubyonrails-talk. Looking at the page, it appears that about 4300 folks have been subscribed. However, I saw nothing about this on rails@lists.rubyonrails.org. Wazzup? -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm@cfcl.com
2006 Sep 20
17
Newbie : What is the number Rails adds in images URL, etc?
If I write : <%= image_tag "rails.png" %> I get in HTML : <img alt="Rails" src="/images/rails.png?1158095722" /> What is the number at the end of the src tag ? What is it for ? Thanks :). Nicolas. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to
2006 Aug 15
7
Programmer Needed For a Game Development Project
Programmer is responsible for writing Ruby on Rails code which will interact with both MySQL and PostgreSQL databases, Memcached, and paypal. Additional skills required are advanced Javascript, XHTML, and CSS knowledge. You will be working with other programmers to finish the project which is already in active development. Programmers with experience working on high traffic websites (5+ million
2006 Nov 28
7
RoR Logs viewer?
Ok another newbie question. I did a tail -f on the test.log file for the sample depot application in Agile Web Development book and was very impressed with the formatted log entries. Apparently, a lot of effort has been put into this. My question is: what is the most effective way of viewing this log? tail command? I ask this question because a bare bones text editor like gedit or vi will not
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:
2003 Oct 13
7
PrePaid Application!!!!!
Hello, Here in our office we are testing Asterisk. My collage Igor created to Asterisk PrePaid application with Postgresql. It is not in Perl. We would like to release it to the group.... as soon as it will work ok. It will have authentication, different rates for users, different rates for destinations and so on. Is there anybody who would like to improve it ? -- Bart -------------- next part
2007 Mar 06
1
photo_gallery
Hi, I''m trying to build the photo_gallery (example), but receive the following error: $ webgen /home/ov/work/photo_gallery/plugin/collage.rb:90:in `load_plugin'': uninitialized constant #<Module:0xb7153b48>::Collage::FileHandlers (NameError) ? ? ? ? from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/plugin.rb:224:in `load_from_file'' ? ? ? ? from
2006 Aug 18
0
call for help
to test new Rails site at http://www.blogsaic.com/ signup and help in the design phase of a new rails site... blogsaic is a great way to drive traffic to yoursite too if thats all your after but it really needs some loading, while I work on the stats system cheers dion -- www.blogsaic.com search, post, blog -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Apr 28
4
Call for patterns...
Hi group, I was wondering if anyone more experienced could help me to find a good pattern for two things: 1. How to group controllers. Example: We have an admin panel with: user_managment_controller.rb priv_managment_controller.rb widget_controller.rb User panel with: mystuff_controller.rb mytags_controller.rb profile_controller.rb And frontend with: widget_controller.rb etc... How do I group
2006 May 24
0
POST op parameters are coming in as StringIOs
I''m receiving a multipart post request from another server. The request parameters are being received as StringIOs, rather than plain strings. For instance : Processing MessagesController#receive (for 83.166.68.31 at 2006-05-24 10:36:53) [POST] Session ID: eedafb24033be0714f8133f02810083f Parameters: {"message"=>#<StringIO:0xb7503358>,
2006 Apr 03
4
Multiple file uploads - only one file object gets posted
All, Trying to upload multiple files. Form: <% index = 0 for @image in images do %> <TR> <TD> <%= @image.path.split(''/'').last[0..39] %>: <% if ((! @image.path.nil?) && (@image.path.length > 40)) %> <%= h("...") %> <% end %> </TD> <TD> <%=
2006 Aug 09
5
HELP!!! New to Ruby
Hi all, I am new to Ruby programming language. I know that require ''gemname'' is used for using some gems in our application. I have a sample application developed in Ruby on Rails which have the following lines of code: require ''zlib'' require ''stringio'' Can you plz help me to know what these gems are used for. It would be very helpful if
2013 Mar 15
2
Icalendar.Parse(StringIO.new(aString)) complains about missing method, bytesize
I need to send an ics file to a web service, so however it gets there it will arrive as a string. Is there another way to begin Icalendar''s Parse than with a file? I''m currently sending the file using the curl command... curl -v --data-urlencode ics at invite.ics http://127.0.0.1:4567/ics2event I''ve tried curl''s --data-binary and sinatra''s
2006 May 01
0
Upload problem when file is small/StringIO (read method return nothing)
Hi I am having a problem with uploading small files. These are StringIO objects rather than temporary files as with the larger file uploads. The problem is that when it is a StringIO rather than a temporary file nothing is returned from the read method. example code where "image" is the file upload form parameter, it works fine if image is over round 19k but is it is smaller then
2006 Apr 12
0
StringIO - getting filename for multipart form uploads?
All, When using multipart forms, sometimes the files come into the controller as StringIO objects. I assume that by the time I get a StringIO object, I can''t get the name of the file the way that I might be able to using File.original_filename, correct? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2006 Apr 29
0
Upload problem when file is small/StringIO
Hi I am having a problem with uploading small files. These are StringIO objects rather than temporary files as with the larger file uploads. The problem is that when it is a StringIO rather than a temporary file nothing is returned from the read method. example code where "image" is the file upload form parameter, it works fine if image is over round 19k: File.open(path_1 +
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"=>"",