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 6585055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:36:50+00:00 2026-05-25T16:36:50+00:00

I am using Ruby on Rails 3.0.10 and I am upgrading my RoR to

  • 0

I am using Ruby on Rails 3.0.10 and I am upgrading my RoR to the version 3.1.0. I am following the Upgrading to Rails 3.1 railscast and on the time 05:14 he deletes all related jQuery files present in the assets/javascripts/ directory.

In the linked railscast there are these 3 files:

jquery.js
jquery.min.js
rails.js

On my machine there are these 3 files:

jquery.js
jquery.min.js
jquery_ujs.js

The difference is that I have the jquery_ujs.js file instead of the rails.js file… what I have to do? That is, should I delete the jquery_ujs.js file?

  • 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-25T16:36:51+00:00Added an answer on May 25, 2026 at 4:36 pm

    Short answer is “yes”. Delete those files as they are no longer needed and will just conflict with the new built in ujs files.

    If you, like me, used to use the jQuery-rails gem you should first delete the rails.js and jquery_ujs.js files. Then remove the

    config.action_view.debug_rjs             = true
    

    line from your development.rb file (I had to).

    Change your application.js to look like this:

    //= require jquery
    //= require jquery_ujs
    //= require_tree .
    

    Then change your application.css to look like this:

    //= require_self
    //= require_tree . 
    

    That should take care of it.

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

Sidebar

Related Questions

When using Ruby on Rails or other framework, a lot of time we generate
We are using Ruby 1.8.7 in dev and production with various version of rails.
So I am creating a time tracking application using Ruby On Rails and am
I am using Ruby on Rails 3.0.7 and jQuery 1.6.1. I would like to
using Ruby on Rails 2.3.2, since I already created Scaffold for Story, so instead
I am using Ruby on Rails. I want to create a filter field on
I am using ruby on rails with a MySQL backend. I have a table
I'm using Ruby on Rails to make an application where businesses can create accounts
I am using Ruby on Rails and I need to store a search result
I'm using ruby on rails 2.3.2 and also using the acts_as_taggable_on puglin. That generated

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.