Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5943499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T16:24:16+00:00 2026-05-22T16:24:16+00:00

I am using paperclip with uploadify and I was able to get it working

  • 0

I am using paperclip with uploadify and I was able to get it working fine. I am also using some AJAX so that a couple of submit buttons do not trigger a reload of the whole page. It was working fine before and it has stopped working now (the log shows that no js.erb is called).

This is what I have in my app:

[remi@iMac]$ l public/javascripts/
total 728
-rw-r--r--@ 1 remi  staff     148 May 17 08:01 application.js
-rw-r--r--@ 1 remi  staff   34787 May 17 08:01 controls.js
-rw-r--r--@ 1 remi  staff   31056 May 17 08:01 dragdrop.js
-rw-r--r--@ 1 remi  staff   38467 May 17 08:01 effects.js
-rw-r--r--@ 1 remi  staff   72328 May 22 10:50 jquery-1.4.2.js
-rw-r--r--@ 1 remi  staff  162353 May 17 08:01 prototype.js
-rw-r--r--@ 1 remi  staff    5850 May 17 08:01 rails.js
-rwxr-xr-x@ 1 remi  staff   10220 May 17 08:01 swfobject.js
drwxr-xr-x  5 remi  staff     170 May 22 10:38 uploadify

And I noticed that the order of the javascript include tags makes a difference. When I include jquery first, uploadify does not work but ajax works fine.

  <%= javascript_include_tag "jquery-1.4.2.js" %>   
  <%= javascript_include_tag :defaults %>

When I change it, then uploadify works but clicking on my ajax buttons reloads the page:

   <%= javascript_include_tag :defaults %>
   <%= javascript_include_tag "jquery-1.4.2.js" %> 

I am still new to this, can you point me to an explanation of some sort?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T16:24:16+00:00Added an answer on May 22, 2026 at 4:24 pm

    I guess jQuery and Prototype are fighting for the $.

    You should setup jquery-rails in your app so that Rails will rely on the framework you’re using elsewhere.

    See reference here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am uploading multiple images (4 file fields) using paperclip, which is working fine
I'm using paperclip to upload some attachments to my application. This works fine, but
I have a model, Thing, that has a has_many with ThingPhoto, using Paperclip to
Using TortoiseSVN against VisualSVN I delete a source file that I should not have
I'm working on an app that will let users submit zip files that are
I'm using paperclip to handle image uploads to rails. it worked fine on my
I have a model that is using Paperclip to manage the file. After I
I'm using Paperclip / S3 for file uploading. I upload text-like files (not .txt,
I'm using Ruby on Rails 3 deployed at heroku. Now I have working fine
I'm using paperclip by thoughtbot for attachments to models and everything works fine on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.