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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:16:48+00:00 2026-05-26T15:16:48+00:00

first off what’s the difference between javascript_include_tag :all and javascript_include_tag :defaults Lastly, I previously

  • 0

first off what’s the difference between

javascript_include_tag :all 

and

javascript_include_tag :defaults

Lastly, I previously had this code:

<%= javascript_include_tag 'jquery-ui-1.8.16.custom.min.js', 'application.js' , 'jquery.tokeninput.js', 'rails.validations.js' %>

Which didn’t load my js right for example jquery.tokeninput.js wasn’t working at all

  • 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-26T15:16:48+00:00Added an answer on May 26, 2026 at 3:16 pm

    The code: javascript_include_tag :all loads all JavaScript files from /public/ or /assets/javascript folder

    And the code: javascript_include_tag :defaults includes only “default” set of JavaScript files configured in config/application.rb file.

    By default those are application.js, rails.js, prototype.js (or jQuery depending of which is turned on) and few more.

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

Sidebar

Related Questions

First off, there's a bit of background to this issue available on my blog:
First off, this question is ripped out from this question. I did it because
First off, I apologize if this doesn't make sense. I'm new to XHTML, CSS
First off, fairly new to JS but getting better :-) This question is similar
First off, I'll admit I'm cargo-culting this a little bit -- my nice clean
First off, I'm doing this for myself so please don't suggest use GMP /
First off, I would like to state this is on a practice exam I
First off, I know this may be a very stupid question, so don't shoot
First off let me say I am maintaining someone else's poorly designed code so
First off, apologies if this question has been asked before but I couldn't find

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.