similar to: :data, upload help

Displaying 20 results from an estimated 100000 matches similar to: ":data, upload help"

2008 Jun 10
1
NameError in AdminController, uninitialized constant
Hi there basically following the "Agile Web Development With Rails, 2nd Edition" i followed the tutorial exaclty, worked fine, so i decided to change one thing on page 74 instead of: ruby script/generate model product i used: ruby script/generate model propertys and: depot_a/db/migrate/001_create_products.rb ~/Rails/ecom/db/migrate$ cat 001_create_propertys.rb class
2009 Feb 08
8
How to upload data using huge .sql file
Hi, I am using Ruby - 1.8.6 and Rails- 1.2.6. When I trying to upload data using the .sql file through my code I got "Mysql::Error: Lost connection to MySQL server during query: rollback;" File size is 6 MB. The code I have used is like: numberOfRecord = ActiveRecord::Base.connection.update(File.open(fileName).read) Please let me know how I upload data using huge .sql file. If
2008 Jun 15
11
Ouch! Can't figure out this file upload issue...
Okay, so this is driving me crazy. I''m trying to do a file upload using code from a book. What happens: I get wrong number of arguments (1 for 0) in the upload controller save action. No idea why. Schema: The schema for the picture model object is just a textfield named comments and a binary field called data. Upload controller: def get @picture =Picture.new end def save
2010 Sep 21
0
Upload form with uploadify jquery plugin
I would like to integrate the uploadify plugin with a standard rails form. However I can''t figure out how to add a new field and have it get submitted with the file upload. I added a name field into the form, but the valued does not get submitted. <% dialog_file_description = ''Photos'' allowed_extensions = [:jpg, :jpeg, :gif, :png] max_size = 20.megabyte
2006 Jun 16
4
Depot App: Upload Images
Hello, I''m a newbie to Ruby on Rails and like many others, I have been working through the depot application in the Agile Web Development book. I was wondering if anyone had enhanced the depot application to include the upload of images for each product? The following describes the sort of thing that I have been asked to produce for a client, so apologies if the information is not
2006 Apr 10
3
Upload an image
Hello there. :-) I have this view: <%= form_tag({:action => ''create''}, :multipart => true) %> <table> <tr> <td>User</td><td><%= text_field("user","name") %></td> </tr> <tr> <td>Image</td><td><%=
2005 Dec 20
0
Testing file upload
Hello, I''m having trouble writing tests for a page uploading a file. I have followed the instructions form the Agile book (p. 363) and the upload works but I would like to write some tests around it. When I print the type/class of the file object being created by form it gives me "IOString", however it is missing the attributes "original_filename" and
2019 Feb 15
0
Please Recommend Affordable and Reliable Cloud Storage for 50 TB of Data
>> On Fri, Feb 15, 2019 at 4:10 PM Walter H. <Walter.H at mathemainzel.info> wrote: >> > >> > On 15.02.2019 06:29, Turritopsis Dohrnii Teo En Ming wrote: >> > > Hi, >> > > >> > > Could you recommend affordable and reliable cloud storage for 50 TB of data? >> > whats your budget? >> > >> > and 50 TB = 50
2019 Feb 15
1
Please Recommend Affordable and Reliable Cloud Storage for 50 TB of Data
On Fri, Feb 15, 2019 at 5:55 PM Phoenix, Merka <merka.phoenix at hpe.com> wrote: > > >> On Fri, Feb 15, 2019 at 4:10 PM Walter H. <Walter.H at mathemainzel.info> wrote: > >> > > >> > On 15.02.2019 06:29, Turritopsis Dohrnii Teo En Ming wrote: > >> > > Hi, > >> > > > >> > > Could you recommend affordable
2007 Feb 07
1
The Depot "Add to Cart" sessions question (2.ed agile book)
Hello, Im in the process of working my way through the 2.ed of the agile book. As many of you already know, the book goes through the regular development cycle of the Depot application. I have hit a wall when they started talking about the sessions and the exact mechanics of how an item is added to the session. The code looks like this: depot/app/controllers/store_controller: def add_to_cart
2006 May 29
3
File.size() on Uploaded Images Fail
I am checking the file size of an uploaded file and storing it in a filesize column. It will work just fine when the user uploads any files other than images (jpg,png,gif). Word, Excel, Powerpoint, .zip and more all work fine. This is my model asset.rb that handles the file upload. def newfile=(newfile_field) self.filename = base_part_of(newfile_field.original_filename) self.filetype
2007 Dec 17
3
not able to view the images after the upload
hi, i have this problem where in i''m able to upload the images using file_column to the server but i''m not able to view the images.i''m not able to see the images but then i''m able to view the image name when i click on my show action. can any one please help?? THIS IS MY LOG as to what happens when i do the image upload. Processing UploadController#create
2008 Dec 08
1
How to upload file by ajax
Hey'' How to upload file with ajax in ROR? My code not working :( View file : <% form_remote_tag(:url => { :controller => ''Upload'', :action => ''uploadFile''}, :update => "result", :position => :bottom :html => {:multipart => true} ) do %> <p><label
2008 Jun 18
1
Avaya IPSoftPhone
Has anyone had any luck getting the Avaya IP SoftPhone to work in wine? I get these errors on Ubuntu 8 Code: preloader: Warning: failed to reserve range 00000000-60000000 wine: creating configuration directory '/home/microchp/.wine'... preloader: Warning: failed to reserve range 00000000-60000000 preloader: Warning: failed to reserve range 00000000-60000000 err:dosmem:setup_dos_mem
2013 Jun 28
1
[HELP PLEASE!] attachment_fu and aws-s3
Hi, Im developing an image upload using pothoven-attachment_fu (3.2.8) and aws-s3 (0.6.3). I want to store my files in Amazon S3. I follow all the instructions using attachment_fu and s3 my model has_attachment :content_type => :image, :storage => :s3, :max_size => 1.megabyte, :thumbnails => { :thumb =>
2007 Jul 04
1
infinite amount of data for HTB burst
Dear all, I''d like to ask for help with HTB configuration (after having read some manual pages, FAQs and forum posts). Short version: is there a way to specify infinite burst for HTB? (Infinite amount of data to use the "ceil" rate.) Long version: I have the following small topology: cable modem (uplink to ISB) | <ethernet>
2008 Jul 04
9
file upload
is there any link for step by step guide in file upload in database ... im follwing the link http://www.tutorialspoint.com/ruby-on-rails/rails-file-uploading.htm.. which shows file upload into folder not in database ..pls help.. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2008 May 16
2
Book Collector install
Hi, I installed Book Collector as my first wine program. It seems to work just fine, BUT, I got these errors during the install and it said please report.; mike at serenity:~/Desktop$ wine bookcollectorsetup.exe preloader: Warning: failed to reserve range 00000000-60000000 preloader: Warning: failed to reserve range 00000000-60000000 err:dosmem:setup_dos_mem Cannot use first megabyte for DOS
2007 Apr 27
3
Image upload problem.
I''ve seen posts of a few people who have this problem, but not a single response about solving it. I can''t upload .png files, but .jpg and .gif work fine. When I upload just a .png, my action gets a StringIO object which breaks when I try to copy the upload to an absolute location. However, using multiple-field upload, as long as one of the to-upload files is *not* a .png, all
2006 Dec 19
2
Dedupping Has_many through, :unique=>true
Hi, In the Agile book, it is told that by putting a :unique => true will dedup the row with ActiveRecord. But it''s not working out for me. Do I need edge rails for this? I simply want to dedup any join model associations, for instance: category_id | inventory_id 384 1 first entry 384 2 this would be ok. 384 1 this would