similar to: iFrame File Upload

Displaying 20 results from an estimated 800 matches similar to: "iFrame File Upload"

2006 Apr 18
0
Upload a file through an iFrame
Anybody here have any experience uploading a file via a hidden iframe for that "ajax fresh good feel"? Previously I was using the plugin form_remote_plugin (http://svn.kylemaxwell.com/form_remote_upload/trunk/) which was working like a dream until our sys admin updated rails to 1.1.2. I''ve made a form that can submit the file to an iframe, but now I''m having trouble
2006 Apr 12
3
form_remote_upload
Hey all, I just upgraded rails to 1.1.2, and form_remote_upload now prevents my application.rhtml layout from being processed. I''m not sure if the problem lies with v 1.1.2, or if upgrading the gems screwed stuff up. Anybody have any ideas? Rob -- c++: the power, elegance and simplicity of a hand grenade -------------- next part -------------- An HTML attachment was scrubbed...
2006 Apr 30
3
Ruby Reference
Hello all, What Ruby reference is everybodies favorite? When I''ve been looking around for documentation I haven''t found any that quite compares to php.net''s and cppreference.com''s function references. I''ve been using the one found on rubycentral, but I think that it is missing quite a bit and doesn''t have very good examples. ri is fine, but
2006 Jun 27
1
[OT]Development Patterns
Hello all, I''m curious as to what development models other people/teams follow when creating web applications. My company has been using the waterfall model( http://en.wikipedia.org/wiki/Waterfall_process) for quite some time now. I''m not completely conviced that it is the right process for web development. I''ve been doing web development for about 6 years now using
2006 Feb 12
7
form_remote_upload plugin
form_remote_tag does not support the input type=file. This is due to javascript security limitations. I created a plugin that modifies form_remote_tag so that if you pass it the option: :html => {:multipart => true}, it will submit via an iframe, allowing you to upload files. It works nicely with file_column :). Currently, it only works with RJS templates (no :update option), and I only
2006 May 24
6
newbie question: missing template
Hi I''m new to this forum and new to Rails so excuse me if this is a daft question. I''m following the ONLamp.com tuturial and all has been well untill changing the template for the recipes. I have followed the instructions and added this code to the controller: class RecipeController < ApplicationController scaffold :recipe def list @recipes = Recipe.find_all end
2006 Apr 22
6
nOOb question: How to use find_all with form input data
Hello, I''m having a problem utilizing the find_all method with a value from a form. I keep getting the following error: Mysql::Error: #42S22Unknown column ''category_id11'' in ''where clause'': SELECT * FROM items WHERE (category_id11) The controller seems to be getting the correct data, but my key and value seem to be mashed together(it''s
2006 Apr 22
2
put variable in session each time any controller runs?
Hi -- well, that''s what I''m trying to do. Does anyone know what the best way to do it is? I have three controllers, each one has a hidden tag, and I want each one to salt its respective tag with the name of the action in effect, at the time that action runs, for every action in the controller. -- Giles Bowkett http://www.gilesgoatboy.org
2006 Apr 22
7
Can''t get rails working
I am trying to set up rails and am having problems. I have googled everything I could think of, but have not found my problem. Here are my specs. Gentoo Linux 2006.0 Apache 2.2 Ruby 1.8.4 Gems 1.8 Rails 1.1.2 mod_fcgid 1.08 When I try to access my test rails app through the webserver, I get the following error in the error.log (after seeing a html 500 error on the page). [Fri Apr 14 19:54:48
2006 May 27
5
set printer on
hi all, I''m newbie on ror. My question is: how could I set the printer on. The logic is as follow: set printer on my print stmt to printer set printer off thx -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060527/4feb1d5c/attachment.html
2006 Jul 22
17
Problem getting form_remote_tag to work with image upload
Hey guys, I am trying to pass the parameters for the file being upload, but the params[] are not being passed. Ive read through some posts and realize this is an issue with RoR. I read through some of the posts and someone suggested using: http://svn.kylemaxwell.com/form_remote_upload/trunk/ I tried to install it, and although I thought I installed it correctly, it doesn''t work.
2006 Jun 27
0
mod_fcgid trouble
Hello everyone, I''m having some trouble hosting using mod_fcgid. If I run ruby -d dispatch.rb I get the error: Exception `NameError'' at ./../config/boot.rb:14 - uninitialized constant Rails Any ideas on how to fix this? The weird thing is that running it with webrick works just fine. I tried setting the GEM_HOME environment variable in my environment.rb, but I started to get
2006 May 24
8
Where to recruit Ruby on Rails developers?
Anyone have suggestions on where to recruit Ruby on Rails developers? My startup''s in Berkeley, CA and I''m looking for a talented technical lead. I''ve tried LinkedIn and Craigslist but the pickings are slim. This project provides an opportunity to use OpenLaszlo. rocky at_sign teampatent dot com -- Posted via http://www.ruby-forum.com/.
2006 May 17
40
IDE recommendations?
I was wondering if there are any IDEs out there that has autocomplete features for win32. It would be perfect if it could do something akin to what DHH is doing on the screencast hosted on the rails website. http://media.rubyonrails.org/video/rails_take2_with_sound.mov Cheers -- Posted via http://www.ruby-forum.com/.
2006 Apr 21
28
Ruby, Rails & Linux - Which distro ??
Hi, I''ve been doing most of my initial playing with rails on a windows system - but wish to switch to a dedicated linux box for this. Are there any particular distro''s to avoid / recommend. I prefer debian for my other stuff, but thought i''d ask before going ahead. :) Cheers -- Posted via http://www.ruby-forum.com/.
2006 Jul 03
7
form_remote_tag with multipart/form-data
Does form_remote_tag supports multipart/form-data ? My form looks like this: <%= form_remote_tag :url => { :action => ''do_image_upload'' }, :html => { :enctype => ''multipart/form-data'' } %> <%= file_field ''image'', ''file_data'', :size => 32 %> <%= submit_tag
2006 Mar 31
4
form_remote_upload and rjs
I am using Kyle Maxwell''s form_remote_upload plugin with Rails 1.1, and I cannot seem to get any code from my rjs template to execute. The template works fine without the upload (if I remove '':html => {:multipart => true}'' from the form_remote_tag), but with the upload nothing happens. I have put ''<script>function
2006 Feb 07
3
in place edit, save on blur
I thought I''d seen some discussion on this, but can''t find it. I have a text area that I''d like to save on blur unless the user clicks cancel. Anyone got a nice example of this? It''s non-obvious to me how I force the submit via javascript. Thanks, pt. -- Parker Thompson http://www.parkert.com/ 510.541.0125
2006 Mar 13
4
controllers, models and views in plugins
Hello all, Is it possible to package controllers, models and views in a plugin? The tutorials for plugins seem rather sparse at the moment... I''ve written a form "widget" that I''ve been using as a partial that I would like to reuse in other projects. I was thinking about making a component out of it, but I need to be able to access some of the form data that it
2006 Feb 04
5
file_column + form_remote_tag
For my weekend project, I''m going to get form_remote_tag and file_column playing happily together. According to my research, no one has done this yet. If you happen to have tried this, and have some workable code, send me an email. I''d rather not duplicate the effort. Thanks! -- Kyle Maxwell Chief Technologist E Factor Media // FN Interactive kyle@efactormedia.com