Displaying 20 results from an estimated 400 matches similar to: "big size file uploading problem w/IE"
2005 Dec 28
1
RJS and :loading
Hi,
I''m a newbie with Ajax and RJS and have one basic question.
When contents in .rjs are exceuted in a Ajax sequence?
.rjs seems a kind of alternate for .rhtml view file, so I guess they are
in action after the controller action completed.
The contents of .rjs file are :complete scenario, right?
if so, can''t I write some on :loading action in .rjs?
like disabling
2006 Apr 24
1
Upload Progress Bar not showing
Hi. I''m setting up an upload form for internal users of a Rails site,
and I''m trying to use the Upload Progress Bar plugin from
http://sean.treadway.info/demo/upload/. I followed the directions as set
out in the Rails Wiki
(http://wiki.rubyonrails.org/rails/pages/Upload+Progress+Bar).
Basically the problem is no progress bar or any upload information shows
up. In WEBrick, I
2005 Dec 23
13
how to form.rest in RJS
is there any way to Form.reset (clear all fields of the form ) in
form_remote_tag generated form?
I want to reset fields after ''submit'' in .rjs.
--
Hiroshi Takagi <gollum-u1eKKkw+WM0gE89CWYshPg@public.gmane.org>
2010 Apr 24
2
problem using attachment_fu with S3
Hi,
My S3 bucket is located in the US
I have attachment_fu working when using file system storage
I have sw-swf upload plugin working with my S3 account
but I can not get attachment_fu to work with S3 storage.
the error I get is :
AWS::S3::RequestTimeout in Upload filesController#create
Your socket connection to the server was not read from or written to
within the timeout period. Idle
2010 Oct 25
0
Rails 3 -NoMethodError (undefined method `original_filename
Hello! I''m using Rails 3, Uploadify, to send images to S3.
Right now all the images being uploaded to S3 have the MIME:
application/octet-stream
I''d like to fix that but I''m getting the following error:
NoMethodError (undefined method `original_filename'' for
#<ActiveSupport::HashWithIndifferentAccess:0x107c81998>):
app/models/photo.rb:29:in
2013 Sep 30
0
TypeError: no implicit conversion of Symbol into Hash when submitting form to upload files
I''m currently new to Rails and Ruby and I''m trying to learn from my
mistakes, this time I''m trying to upload 2 files from a form for later
processing, however, after I hit the "Submit" button. I keep getting this
error:
TypeError in UploadFilesController#create
app/controllers/upload_files_controller.rb:28:in `new''
2008 Feb 20
1
Deleting multiple rows based on a variable
Hello,
I have a dataset which consists of 9 columns (variables) and 35 rows
(observations). I am doing a simple linear regression of one variable
on the other. There are some observations that are outliers and I would
like to remove them based on another variable (it's a unique, numeric
variable). How do you tell R to remove multiple rows (observations)
based on a variable value?
2005 Dec 31
7
Dynamic form? Not really!
Hi guru''s out there,
Im happilly coding my first rails app, and all goes well. I find myself
manually coding in a particular field all the time (company_id), that relates
the contact to a company. The total coding of this form seems somewhat much.
Could somebody tell me what Rails power I''m possibly missing and stuborn as I
am trying to do myself?
I was wondering if the
2006 Mar 16
2
how to limit standard layout on action
I have an action/view that I need to return only data (other external
processes query this action/view) but I need the standard_layout
template to be attached to the other actions/views in the same
controller. ie, the editing of the data in the model needs to include
all the navigation, except one view which should just return a
text/plain output.
how do I say "include
2007 Oct 30
1
Japanese menu on widget are garbled (mojibake)
Hello,
I have problem that menus on windows soft under wine are garbled
(mojibake.)
I'm Japanese and I've just started to use wine under CentOS5 because I
want to
use English-Japanese dictionary viewing software.
Installing wine is fine both English and Japanese locale where wine
related soft
displays Japanese correctly even on menus.
But my dictionary viewing soft under wine has
2010 Mar 29
4
error in uploading file(help me urgnt)
when i tried to crate an upload file application in rails i am getting
error like this
Template is missing
Missing template app\views\upload\uploadfile.html.erb in view path
app/views
this is ma model
class DataFile < ActiveRecord::Base
def self.save(upload)
name = upload[''datafile''].original_filename
directory = "public/data"
# create the
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
2006 Jun 01
3
Image corrupted on upload
Hi, I''m using the below method to copy/upload a file. The outcome is an
image with the proper dimensions but looks garbled and pixelated. I''m
baffled as to what''s going on.
What''s even weirder is this same function with the same image works for
my colleague. He is using OS/10 and I am using Windows Media Center.
Any ideas?
#
# destination is the
2010 Oct 20
2
How do i use button_to_function
Hii all ,
I am trying to create a button that, when clicked on, calls a
method in a controller . I am thinking that button_to_function is good
to use for that i made htnl viwe like
<h1>File Upload</h1>
<p><label for="upload_file">Select File</label> :
<%= file_field ''upload'', ''datafile'' %></p>
2006 Mar 09
4
habtm questions
I''ve got some of this working but other parts are ellusive.
I have
CREATE TABLE `bags` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(255) NOT NULL default '''',
PRIMARY KEY (`id`)
CREATE TABLE `packages` (
`id` int(255) NOT NULL auto_increment,
`name` varchar(255) NOT NULL default '''',
PRIMARY KEY (`id`)
CREATE TABLE
2006 Aug 18
1
join update seperation?
I have a legacy DB without access to change the user or group table
(must use StoredProcedures to edit those). But I do have access to the
usergroup join so I thought the joins would be pretty much like my other
rails apps where I do HABTM checkboxes. I''ve created a page that just
shows habtm checkboxes for the join and the updates are occuring for the
join but I''m
2006 Jul 25
2
join in legacy DB?
I''ve got a problem with some tables that don''t follow any RAILS
standards. how do I define the join in the model when all three tables
have wacky names?
class Machine < ActiveRecord::Base
set_table_name "tbl_CodeMgmt_Host"
set_primary_key "Id"
end
class Pool < ActiveRecord::Base
set_table_name "tbl_CodeMgmt_Pool"
set_primary_key
2006 Apr 03
1
singular table names testing
I''ve demoed my rails app and now have to move it to a MSSQL DB. the big
problem I''m running into is the table name conventions I have to use.
I have to use names like tbl_Transfer & tbl_User. In my tests on the
console, I am trying
myvar = tbl_Transfer.find_by_sql("select top 1 * from tbl_Transfer")
NameError: undefined local variable or method
2006 Mar 01
2
kickstarting with rails routing problem
I''ve rewritten my kickstart cgi in rails with DB acces to the host list
and the testing is perfect. I can send the macaddress in the
HTTPrequest Header, rails looks up the macaddr in the machine db and
spits back out a kickstart file for the machine..
however in real world usage what I get is a request for
http://server//kickstarts/kickme which rails fails with
192.168.20.176 - -
2007 May 11
0
xen 3.0.4 on FC6 x86_64 install problem with lcrypto
a clean new FC6 system
downloading xen src tar ball I get
make[3]: Entering directory `/opt/xen-3.0.4_1-src/tools/blktap/drivers''
gcc -O2 -fomit-frame-pointer -m64 -DNDEBUG -std=gnu99 -Wall -Wstrict-
prototypes -Wno-unused-value -Wdeclaration-after-statement -
D__XEN_TOOLS__ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Werror -
Wno-unused -fno-strict-aliasing -I