Mohnish J.
2011-May-25 01:59 UTC
Which ajax file upload plugin would suit my configuration of Rails 2.0.2 and Ruby 1.8.8
Hello all, I am trying to implement uploading of images in my project with some kind of "faux" AJAX.. as I have read that it can''t be done otherwise.. Kindly correct me on this in case I am wrong... I have after some research found two plugins, but I am not sure which to go ahead with going forward. I was planning to make it work for me on a POC and then integrate it in my project app which is using Rails 2.0.2 and Ruby 1.8.7 .. I understand that the first thing that would come in anybody''s mind is that this config is way outdated... But as of now .. I have to go ahead gettin it workin for this config.. Kindly suggest me which would be the best bet to get this working for me... I would like to add these are the options I have been able to find as of now:- From http://www.railsinside.com/screencasts/295-screencast-easy-rails-file-uploads-using-ajax-and-jquery.html https://github.com/adamlogic/jaxy_file_uploads and From http://www.williambharding.com/blog/rails/rails-ajax-image-uploading-made-simple-with-jquery/ https://github.com/malsup/form. Would there be any other plugin that you would recommend for this..? I am making use of a paperclip commit from github of 08may08 for my prj config Also any good additional tutorials links/screencasts would really help.. Thanks for your time.. -- 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 group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Walter Davis
2011-May-25 02:14 UTC
Re: Which ajax file upload plugin would suit my configuration of Rails 2.0.2 and Ruby 1.8.8
On May 24, 2011, at 9:59 PM, Mohnish J. wrote:> Hello all, > > I am trying to implement uploading of images in my project with some > kind of "faux" AJAX.. > as I have read that it can''t be done otherwise.. Kindly correct me on > this in case I am wrong... > > I have after some research found two plugins, but I am not sure > which to > go ahead with going forward. I was planning to make it work for me > on a > POC and then integrate it in my project app which is using Rails 2.0.2 > and Ruby 1.8.7 .. I understand that the first thing that would come in > anybody''s mind is that this config is way outdated... But as of > now .. I > have to go ahead gettin it workin for this config.. > > Kindly suggest me which would be the best bet to get this working for > me... > > I would like to add these are the options I have been able to find > as of > now:- > > From > http://www.railsinside.com/screencasts/295-screencast-easy-rails-file-uploads-using-ajax-and-jquery.html > > https://github.com/adamlogic/jaxy_file_uploads > > and From > http://www.williambharding.com/blog/rails/rails-ajax-image-uploading-made-simple-with-jquery/ > > https://github.com/malsup/form. > > Would there be any other plugin that you would recommend for this..? > > I am making use of a paperclip commit from github of 08may08 for my > prj > config > > Also any good additional tutorials links/screencasts would really > help.. > > Thanks for your time..If you''re not using jQuery on the rest of your project (and at that age of Rails, you probably weren''t) then you should look for one that specifically uses Prototype.js or stand-alone (no library). Here''s the first thing that Google suggested, to the query ''rails prototype.js ajax file upload'': http://khamsouk.souvanlasy.com/articles/ajax-file-uploads-in-rails-using-attachment_fu-and-responds_to_parent Walter> > -- > 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 group, send email to rubyonrails- > talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > . > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en > . >-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Mohnish J.
2011-May-25 06:41 UTC
Re: Which ajax file upload plugin would suit my configuration of Rails 2.0.2 and Ruby 1.8.8
Hi Walter, Thanks for the link... I need to make use of Jquery alone as a constraint somehow and yes previously Jquery 1.4.2 has been used in my project app.... Walter Davis wrote in post #1000778:> On May 24, 2011, at 9:59 PM, Mohnish J. wrote: > >> on a >> as of >> https://github.com/malsup/form. >> Thanks for your time.. > If you''re not using jQuery on the rest of your project (and at that > age of Rails, you probably weren''t) then you should look for one that > specifically uses Prototype.js or stand-alone (no library). > > Here''s the first thing that Google suggested, to the query ''rails > prototype.js ajax file upload'': > >http://khamsouk.souvanlasy.com/articles/ajax-file-uploads-in-rails-using-attachment_fu-and-responds_to_parent> > Walter-- 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 group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Walter Davis
2011-May-25 12:34 UTC
Re: Re: Which ajax file upload plugin would suit my configuration of Rails 2.0.2 and Ruby 1.8.8
Carry on, then. I didn''t know that. And I don''t have much (any) experience with jQuery, whereas Prototype is as natural as English to me by now. (sniff, sob, 3.1...) Walter On May 25, 2011, at 2:41 AM, Mohnish J. wrote:> Hi Walter, > > Thanks for the link... > > I need to make use of Jquery alone as a constraint somehow and yes > previously Jquery 1.4.2 has been used in my project app.... > > Walter Davis wrote in post #1000778: >> On May 24, 2011, at 9:59 PM, Mohnish J. wrote: >> >>> on a >>> as of >>> https://github.com/malsup/form. >>> Thanks for your time.. >> If you''re not using jQuery on the rest of your project (and at that >> age of Rails, you probably weren''t) then you should look for one that >> specifically uses Prototype.js or stand-alone (no library). >> >> Here''s the first thing that Google suggested, to the query ''rails >> prototype.js ajax file upload'': >> >> > http://khamsouk.souvanlasy.com/articles/ajax-file-uploads-in-rails-using-attachment_fu-and-responds_to_parent >> >> Walter > > -- > 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 group, send email to rubyonrails- > talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > . > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en > . >-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Mohnish J.
2011-May-26 01:16 UTC
Re: Re: Which ajax file upload plugin would suit my configuration of Rails 2.0.2 and Ruby 1.8.8
Thanks for all the help you could give for your end to a stranger Walter.. Highly appreciated..:) Cheers.. Walter Davis wrote in post #1000882:> Carry on, then. I didn''t know that. And I don''t have much (any) > experience with jQuery, whereas Prototype is as natural as English to > me by now. (sniff, sob, 3.1...) > > Walter-- 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 group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Jason Fleetwood-Boldt
2011-May-26 13:43 UTC
Re: Re: Which ajax file upload plugin would suit my configuration of Rails 2.0.2 and Ruby 1.8.8
You might want multi-file uploads (so the use can choose many files at once in the browser''s file dialog), in which case SWFUpload is the way to go. This is a pretty good tutorial for use with Paperclip http://jimneath.org/2008/05/15/swfupload-paperclip-and-ruby-on-rails.html -Jason On May 25, 2011, at 8:34 AM, Walter Davis wrote:> Carry on, then. I didn''t know that. And I don''t have much (any) experience with jQuery, whereas Prototype is as natural as English to me by now. (sniff, sob, 3.1...) > > Walter > > On May 25, 2011, at 2:41 AM, Mohnish J. wrote: > >> Hi Walter, >> >> Thanks for the link... >> >> I need to make use of Jquery alone as a constraint somehow and yes >> previously Jquery 1.4.2 has been used in my project app.... >> >> Walter Davis wrote in post #1000778: >>> On May 24, 2011, at 9:59 PM, Mohnish J. wrote: >>> >>>> on a >>>> as of >>>> https://github.com/malsup/form. >>>> Thanks for your time.. >>> If you''re not using jQuery on the rest of your project (and at that >>> age of Rails, you probably weren''t) then you should look for one that >>> specifically uses Prototype.js or stand-alone (no library). >>> >>> Here''s the first thing that Google suggested, to the query ''rails >>> prototype.js ajax file upload'': >>> >>> >> http://khamsouk.souvanlasy.com/articles/ajax-file-uploads-in-rails-using-attachment_fu-and-responds_to_parent >>> >>> Walter >> >> -- >> 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 group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. >> > > -- > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Mohnish J.
2011-May-27 14:19 UTC
Re: Which ajax file upload plugin would best suit my configuration of Rails 2.0.2 and Ruby 1.8.8
Hi all, I just want to firstly apologize for making a mistake in my question.. there is a typo, I am basically using Ruby 1.8.7. @Jason: Thanks for your response.. I actually did a git clone to the example app(https://github.com/jimneath/swfupload---paperclip-example-app ) that was implemented by Jim Neath and I tried implementing the same to see how it works.. It didn''t seem to function as expected on click of the "Browse" button. I don''t know exactly why.. -- 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 group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.