Displaying 20 results from an estimated 30000 matches similar to: "Plugin for uploading a folder of images?"
2007 Mar 14
9
file_field doesnt work inside form_remote_for
When I do file_field within a form_for things are fine... but within a
form_remote_for, with nothing else changed, I find that the params
does not even have the element document[uploaded_file] even though it
is definitely present in the HTML source in the form. Obviously the
file upload fails.
Am I missing something? Or has someone else faced this? Or is this a
known bug?
Rajesh
2007 Jan 18
5
Session IDs and SWFUpload
Hi
I''m using SWFUpload in one of my applications, but it has one big
shortcoming: it doesn''t maintain the session. Let me explain:
The user has to login to the application, thus creating an
authenticated session (cookie _session_id client side and the
sessions table server side). However, when you use SWFUpload, the
upload script is called with a new session
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:
2008 Dec 26
2
Video gallery in rails
Dear all,
Iam in process of creating video gallery like youtube, please suggesst
plugins i should install and best suits fro my application.
My requirements are
1) Huge file uploading to upload videos
2) creating thumbnails on videos uploaded
3) Listing thumbnails of all videos in video gallery folder.
4) Onclicking thumbnails video should be played
Please suggest a way to proceed
2008 Nov 05
2
Muliply images > wich plugin?
Hi,
I have one destionation such as Barcelona and i want to store and show
multiply pictures of Barcelona. Wich upload plugin is the best for this
purpose?
Grtz..remco
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2007 Sep 18
10
How do i make rails wait until an ffmpeg call is complete?
In my app i upload a file, convert it with ffmpeg, delete the original
and make a small thumbnail out of the big thumbnail ffmpeg makes.
At the moment it seems like these actions are tripping over each other -
how can i make the app wait until ffmpeg has completed it''s output
before doing the next thing?
--
Posted via http://www.ruby-forum.com/.
2010 Sep 09
1
406 Not Acceptable with swfupload
---------flash_session_cookie_middleware.rb
require ''rack/utils''
class FlashSessionCookieMiddleware
def initialize(app, session_key = ''_session_id'')
@app = app
@session_key = session_key
end
def call(env)
if env[''HTTP_USER_AGENT''] =~ /^(Adobe|Shockwave) Flash/
req = Rack::Request.new(env)
params =
2006 Aug 10
4
How to upload all images in a folder?
Instead of making a form to upload one picture at a time, I''d like to
have the File Column plugin accept a directory, and have each picture be
uploaded and thumbnails created (w/ RMagick).
Has anyone done this?
Anyone have a good idea where to start if I were to do it on my own?
Thanks,
Ben Lisbakken
--
Posted via http://www.ruby-forum.com/.
2008 Apr 04
8
Updatable "datagrid" with ajax support? Is there any code/approach I can leverage?
Hi,
I want to have a page in my Ruby on Rails application that is like a
dynamic / updateable data grid. Like a matrix or spreadsheet segment
(x rows, y columns) which one can click in any of the cells and make
an update, which triggers some AJAX code to fire off the update, and
then the responses come back and update whatever else needs updating
based on this change.
Is there a prototype
2010 Sep 25
3
Factory_girl association with specific values
Hope this should be simple: I have a User model and a Role model. Factories
for each.
When I create a User using FG, I want to assign a specific role. Cant seem
to figure out how to do this, getting errors like: uninitialized constant
SysadminRole for doing things this way:
Factory.define :user do |u|
u.practice_id { |a| a.association(:practice).id }
u.password ''password1''
2010 Jun 28
4
Downtime notifier
What methods do people use to notify users of upcoming downtime in an
application, and for handling requests nicely while scheduled downtime
is occurring? My Google-fu is not yielding me anything useful-looking.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2010 Mar 25
2
NoMethodError (private method `chomp' called for nil:NilClas
Hi:
I am using Rails 2.3.5 with paperclip, mime-types and uploadify. So far
the application is working in development environment. But when I
switched to the production environment, it produced the following error.
NoMethodError (private method `chomp'' called for nil:NilClass):
/usr/lib/ruby/gems/1.8/gems/mime-types-1.16/lib/mime/types.rb:665:in
`type_for''
2011 Jul 23
6
Rails 3.1 CoffeeScript not working
I convert my old JS files into CoffeeScript, In my public controller I
used this functions
$(''#events a'').lightBox()
$(document).ready ->
$("#slider").easySlider
auto: true,
continuous: true
they load inside application.js like this
(function() {
$(''#events a'').lightBox();
$(document).ready(function() {
2011 Jun 15
12
Create or Update Model with JSON?
Having issue updating a model with JSON. I simply *"model.attributes=json"*,
which does update the attributes but not the id, or uuid in this case. I
want to save or create the record (if it''s id exists). Seems like this would
be documented, but I''m not finding anything. I''m using a MOM to pass JSON
between apps. Thanks.
--
You received this message because
2011 May 18
9
Address already in use - bind(2) (Errno::EADDRINUSE)
I made a new rails app and when i started the server ,it gave
following error message.
=> Booting Mongrel
=> Rails 2.3.8 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/usr/lib/ruby/1.8/mongrel/tcphack.rb:12:in
`initialize_without_backlog'': Address already in use - bind(2)
(Errno::EADDRINUSE)
from
2010 Aug 30
10
Trouble with rvm (Ruby Version Manager)
Hi--
Am having trouble with rvm. Successfully installed it, but when I
tried to install Ruby 1.8.7, here is the error I got:
Paul-Denlingers-MacBook-Pro:~ pdenlinger$ rvm install 1.8.7
-bash: rvm: command not found
Tried closing terminal, quitting terminal, opening another tab, etc.
but continued to get same error.
What to do?
Thanks!
--
You received this message because you are subscribed
2010 Mar 26
2
file upload error(can't convert Tempfile into String)
i tried a method to implementa file uploader by using amethod below
this is ma controlller method to upload
def save_imports
Contactslist.save(params[:list])
render :text => "File uploaded successfully"
this is ma view file
.remote
- form_for(@list, :url=> save_imports_list_path(@list, :format =>
"js"), :html => { :multipart => true,
2010 Feb 10
4
AJAX responses
Does anyone know if it''s possible to do multiple AJAX responses to a
single request in Rails? I did some googling but didn''t find anything
extremely helpful.
Thanks.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2010 Nov 02
2
Why can I do a case insensitive Validation but not Find?
Why can I do this....
validates_uniqueness_of "username", :case_sensitive=>false
.... but not this....
User.where "Xx", :case_sensitive=>false
?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2010 Mar 16
7
Recommendations for pdf generators
hi, everyone,
i have googled around for some pdf generators. Found
1) PDF::Writer which is a little dated
2) Rupdf (http://scoop.simplyexcited.co.uk//2007/12/15/rupdf-simple-
ruby-pdf-rails-plugin/ and http://agilewebdevelopment.com/plugins/rupdf)
- it''s a little dated. Last revision was on 15th of Dec, 2007.
Any recommendations for pdf generators?
thank you
--
You received this