0

Does Jquery have to be manually included in rails? Or is it a default? I see in the asset pipeline manifest:

require jquery
require jquery-ujs
1
  • 1
    It is a default since the time it replaced prototype.. Commented Nov 23, 2012 at 6:40

1 Answer 1

1

It doesn't have to be included, but it will be included unless you remove it. Most applications will benefit from it being present, but if you don't use JavaScript in any of your views, you could always leave it out.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.