{"id":9426,"date":"2020-03-30T14:26:34","date_gmt":"2020-03-30T08:56:34","guid":{"rendered":"https:\/\/www.botreetechnologies.com\/blog\/?p=9426"},"modified":"2026-03-27T17:12:22","modified_gmt":"2026-03-27T11:42:22","slug":"rails-6-jquery-upgrade-with-webpacker","status":"publish","type":"post","link":"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/","title":{"rendered":"Rails 6 jQuery upgrade with webpacker"},"content":{"rendered":"\n<p>Adding jQuery to Rails 6 with webpacker will enable you to write ES 6 flavored JavaScrip applications in no time.<\/p>\n\n\n\n<p>An essential thing to note is that Rails 6 comes installed with webpacker by default so you don&#8217;t need to install it separately. In this article, I have outlined the process of adding jQuery-Rails with webpacker to your <a href=\"https:\/\/www.botreetechnologies.com\/rails-upgrade-service\" target=\"_blank\" rel=\"noreferrer noopener\">Rails version<\/a> for building your frontend of the application.<\/p>\n\n\n\n<p>This blog is divided into three sections:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>jQuery in an older version of Rails<\/li><li>Webpacker Installation<\/li><li>Add jQuery with webpacker<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">1. jQuery in an older version of Rails<\/h2>\n\n\n\n<p>If you are using an older version on Rails and added&nbsp;<a href=\"https:\/\/jquery.com\/\">jQuery<\/a>&nbsp;to it. Then the easiest way to add Ruby on Rails jQuery was to use&nbsp;<a href=\"https:\/\/github.com\/rails\/jquery-rails\">jquery-rails<\/a>&nbsp;gem.<\/p>\n\n\n\n<p>By doing so the&nbsp;<code>jquery<\/code>&nbsp;and&nbsp;<code>jquery-ujs<\/code>&nbsp;files will be added to the asset pipeline and available for you to use. If they&#8217;re not already in&nbsp;<code>app\/assets\/javascripts\/application.js<\/code>&nbsp;by default, add these lines to add jquery Ruby on Rails:<\/p>\n\n\n\n<p><code>\/\/= require jquery<\/code><br><code>\/\/= require jquery_ujs<\/code><\/p>\n\n\n\n<p>If you are running Rails 5.1 and up, and if you have included&nbsp;<code>\/\/= require rails-ujs<\/code>, then&nbsp;<code>jquery_ujs<\/code>&nbsp;is not needed anymore. You can just add:<\/p>\n\n\n\n<p><code>\/\/= require jquery<\/code><\/p>\n\n\n\n<p>Adding jQuery in this way makes it part of the&nbsp;<a href=\"https:\/\/guides.rubyonrails.org\/asset_pipeline.html\" target=\"_blank\" rel=\"noopener noreferrer\">rails asset pipeline<\/a>.<\/p>\n\n\n\n<p>Now if you are upgrading your rails version to Rails 6 and use it with&nbsp;<a href=\"https:\/\/github.com\/rails\/webpacker\" target=\"_blank\" rel=\"noopener noreferrer\">webpacker<\/a>&nbsp;then you need to remove&nbsp;<code>jquery-rails<\/code>&nbsp;from&nbsp;<code>Gemfile<\/code>.<\/p>\n\n\n\n<p>Remove below from application.js<\/p>\n\n\n\n<p><code>\/\/= require jquery<\/code><br><code>\/\/= require jquery_ujs<\/code><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2. Webpacker Installation<\/h2>\n\n\n\n<p><a href=\"https:\/\/github.com\/rails\/webpacker\" target=\"_blank\" rel=\"noopener noreferrer\">Webpacker<\/a>&nbsp;gem uses&nbsp;<a href=\"https:\/\/webpack.js.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Webpack<\/a>&nbsp;to manage app-like JavaScript modules in Rails jquery install and configuration.<\/p>\n\n\n\n<p>Webpacker makes it easy to use the JavaScript pre-processor and bundler&nbsp;<code>webpack 4.x.x+<\/code>&nbsp;to manage application-like&nbsp;<a href=\"https:\/\/www.botreetechnologies.com\/blog\/introducing-jquery-in-rails-6-using-webpacker\/\" target=\"_blank\" rel=\"noreferrer noopener\">JavaScript in Rails 6 jquery<\/a>. It coexists with the asset pipeline, as the primary purpose for webpack is app-like JavaScript, not images, CSS, or even JavaScript Sprinkles (that all continue to live in app\/assets).<\/p>\n\n\n\n<p>Rails 6 comes with webpacker by default so you don\u2019t need to do anything for it! When you create a brand new jquery Rails 6 app it will add webpacker and will do the configurations for you. Rails webpack doesn\u2019t have difficult configurations during installation.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Read Also: <a href=\"https:\/\/www.botreetechnologies.com\/blog\/notable-activerecord-changes-in-rails-6-part-1\" target=\"_blank\" rel=\"noopener noreferrer\">Notable ActiveRecord changes in Rails 6 \u2013 Part1<\/a><\/strong><\/p><\/blockquote>\n\n\n\n<p>If you are upgrading rails app from an older version then you need to add below line manually in your&nbsp;Gemfile<\/p>\n\n\n\n<p><code>gem 'webpacker', '~&gt; 4.x'<\/code><\/p>\n\n\n\n<p>Once you have added it then you need to run the following command to install Webpacker:<\/p>\n\n\n\n<p><code>$ bundle exec rails webpacker:install<\/code><\/p>\n\n\n\n<p>Optional: To fix &#8220;unmet peer dependency&#8221; warnings,<\/p>\n\n\n\n<p><code>$ yarn upgrade<\/code><\/p>\n\n\n\n<p>Once installed, you can start writing modern ES6-flavored JavaScript apps right away:<\/p>\n\n\n\n<p>Rails will provide you with the basic directory structure as follows<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"480\" height=\"253\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/03\/basic-directory-structure.png\" alt=\"Rails 6 basic directory structure \" class=\"wp-image-13300\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/03\/basic-directory-structure.png 480w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/03\/basic-directory-structure-300x158.png 300w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/figure><\/div>\n\n\n\n<p>In <code>\/packs\/application.js<\/code>, include this at the top of the file:<\/p>\n\n\n\n<p><code>import 'core-js\/stable'<\/code><br><code>import 'regenerator-runtime\/runtime'<\/code><\/p>\n\n\n\n<p>You can then link the JavaScript pack in Rails views using the&nbsp;<a href=\"https:\/\/www.rubydoc.info\/github\/rails\/webpacker\/Webpacker%2FHelper:javascript_pack_tag\">javascript_pack_tag<\/a>&nbsp;helper.<\/p>\n\n\n\n<p><code>&lt;%= javascript_pack_tag 'application' %&gt;<\/code><\/p>\n\n\n\n<p>So by doing this, your <a href=\"https:\/\/www.botreetechnologies.com\/ruby-on-rails-development\" target=\"_blank\" rel=\"noopener noreferrer\">Rails webpacker jquery<\/a> installation will get completed. No need to do the above steps if you already are using Rails 6.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3. Add jQuery with webpacker<\/h2>\n\n\n\n<p>In our Rails application run below command to add jQuery.<\/p>\n\n\n\n<p><code>$ yarn add jquery<\/code><\/p>\n\n\n\n<p>This will add jquery to Rails 6 to your application frontend. This is similar to being a jquery webpacker plugin. So we can access it in the webpacker. Just add following at <code>config\/webpack\/environment.js<\/code><\/p>\n\n\n\n<p><script src=\"https:\/\/gist.github.com\/AnkurVyas-BTC\/b240fb521d7edfd4247e1cab729f3999.js\"><\/script><\/p>\n\n\n\n<p><code>module.exports = environment<\/code><\/p>\n\n\n\n<p>Add require&lt;code(&#8220;jquery&#8221;) to your &lt;codeapp\/javascript\/packs\/application.js<\/p>\n\n\n\n<p><script src=\"https:\/\/gist.github.com\/AnkurVyas-BTC\/549e5a31c47138f92521db18975dc87f.js\"><\/script><\/p>\n\n\n\n<p>Now you will be able to add <a href=\"https:\/\/www.botreetechnologies.com\/blog\/rails-6-notable-changes-in-railties-module\/\" target=\"_blank\" rel=\"noreferrer noopener\">JQuery in Rails 6 application<\/a>!<\/p>\n\n\n\n<p><a href=\"https:\/\/www.botreetechnologies.com\/ruby-on-rails-development\"><b>Click here for more<\/b> details&#8230;<\/a><\/p>\n\n\n\n<p><strong><a href=\"https:\/\/www.botreetechnologies.com\/contact\">Consulting is free<\/a> &#8211; let us help you grow!<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Adding jQuery to Rails 6 with webpacker will enable you&#8230;<\/p>\n","protected":false},"author":9,"featured_media":13299,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73,10],"tags":[],"class_list":["post-9426","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ruby-on-rails","category-technology"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Rails 6 jQuery upgrade with webpacker<\/title>\n<meta name=\"description\" content=\"Here\u2019s a detailed blog on how to add jQuery in your Rails 6 application with the help of webpacker!. #rails, #webpacker, #jquery, #ruby, #jQuery\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Rails 6 jQuery upgrade with webpacker\" \/>\n<meta property=\"og:description\" content=\"Here\u2019s a detailed blog on how to add jQuery in your Rails 6 application with the help of webpacker!. #rails, #webpacker, #jquery, #ruby, #jQuery\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/\" \/>\n<meta property=\"og:site_name\" content=\"BoTree Technologies\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/BoTreeTechnologies\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-03-30T08:56:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-27T11:42:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/03\/rails-6-jquery-upgrade.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"880\" \/>\n\t<meta property=\"og:image:height\" content=\"587\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ankur Vyas\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@BoTreeTech\" \/>\n<meta name=\"twitter:site\" content=\"@BoTreeTech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ankur Vyas\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/\"},\"author\":{\"name\":\"Ankur Vyas\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/aa180b4d8d933949f15aba97d8d138a5\"},\"headline\":\"Rails 6 jQuery upgrade with webpacker\",\"datePublished\":\"2020-03-30T08:56:34+00:00\",\"dateModified\":\"2026-03-27T11:42:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/\"},\"wordCount\":569,\"commentCount\":12,\"image\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/03\/rails-6-jquery-upgrade.jpeg\",\"articleSection\":[\"Ruby on Rails\",\"Technology\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/\",\"name\":\"Rails 6 jQuery upgrade with webpacker\",\"isPartOf\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/03\/rails-6-jquery-upgrade.jpeg\",\"datePublished\":\"2020-03-30T08:56:34+00:00\",\"dateModified\":\"2026-03-27T11:42:22+00:00\",\"author\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/aa180b4d8d933949f15aba97d8d138a5\"},\"description\":\"Here\u2019s a detailed blog on how to add jQuery in your Rails 6 application with the help of webpacker!. #rails, #webpacker, #jquery, #ruby, #jQuery\",\"breadcrumb\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/#primaryimage\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/03\/rails-6-jquery-upgrade.jpeg\",\"contentUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/03\/rails-6-jquery-upgrade.jpeg\",\"width\":880,\"height\":587,\"caption\":\"Rails 6 jQuery upgrade\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.botreetechnologies.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Rails 6 jQuery upgrade with webpacker\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#website\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/\",\"name\":\"BoTree Technologies\",\"description\":\"Committed to inspire generation.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.botreetechnologies.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/aa180b4d8d933949f15aba97d8d138a5\",\"name\":\"Ankur Vyas\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/ankur-vyas-1-150x150.png\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/ankur-vyas-1-150x150.png\",\"contentUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/ankur-vyas-1-150x150.png\",\"caption\":\"Ankur Vyas\"},\"description\":\"Ankur is a Ruby on Rails Developer and Practice Lead JavaScript. He loves Ruby, JavaScript, reading and writing blogs, problem-solving and taking ownership of work. Apart from coding he likes to listen to songs, gaming and traveling.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Rails 6 jQuery upgrade with webpacker","description":"Here\u2019s a detailed blog on how to add jQuery in your Rails 6 application with the help of webpacker!. #rails, #webpacker, #jquery, #ruby, #jQuery","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/","og_locale":"en_US","og_type":"article","og_title":"Rails 6 jQuery upgrade with webpacker","og_description":"Here\u2019s a detailed blog on how to add jQuery in your Rails 6 application with the help of webpacker!. #rails, #webpacker, #jquery, #ruby, #jQuery","og_url":"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/","og_site_name":"BoTree Technologies","article_publisher":"https:\/\/www.facebook.com\/BoTreeTechnologies\/","article_published_time":"2020-03-30T08:56:34+00:00","article_modified_time":"2026-03-27T11:42:22+00:00","og_image":[{"width":880,"height":587,"url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/03\/rails-6-jquery-upgrade.jpeg","type":"image\/jpeg"}],"author":"Ankur Vyas","twitter_card":"summary_large_image","twitter_creator":"@BoTreeTech","twitter_site":"@BoTreeTech","twitter_misc":{"Written by":"Ankur Vyas","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/#article","isPartOf":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/"},"author":{"name":"Ankur Vyas","@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/aa180b4d8d933949f15aba97d8d138a5"},"headline":"Rails 6 jQuery upgrade with webpacker","datePublished":"2020-03-30T08:56:34+00:00","dateModified":"2026-03-27T11:42:22+00:00","mainEntityOfPage":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/"},"wordCount":569,"commentCount":12,"image":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/#primaryimage"},"thumbnailUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/03\/rails-6-jquery-upgrade.jpeg","articleSection":["Ruby on Rails","Technology"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/","url":"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/","name":"Rails 6 jQuery upgrade with webpacker","isPartOf":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/#primaryimage"},"image":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/#primaryimage"},"thumbnailUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/03\/rails-6-jquery-upgrade.jpeg","datePublished":"2020-03-30T08:56:34+00:00","dateModified":"2026-03-27T11:42:22+00:00","author":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/aa180b4d8d933949f15aba97d8d138a5"},"description":"Here\u2019s a detailed blog on how to add jQuery in your Rails 6 application with the help of webpacker!. #rails, #webpacker, #jquery, #ruby, #jQuery","breadcrumb":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/#primaryimage","url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/03\/rails-6-jquery-upgrade.jpeg","contentUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/03\/rails-6-jquery-upgrade.jpeg","width":880,"height":587,"caption":"Rails 6 jQuery upgrade"},{"@type":"BreadcrumbList","@id":"https:\/\/www.botreetechnologies.com\/blog\/rails-6-jquery-upgrade-with-webpacker\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.botreetechnologies.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Rails 6 jQuery upgrade with webpacker"}]},{"@type":"WebSite","@id":"https:\/\/www.botreetechnologies.com\/blog\/#website","url":"https:\/\/www.botreetechnologies.com\/blog\/","name":"BoTree Technologies","description":"Committed to inspire generation.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.botreetechnologies.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/aa180b4d8d933949f15aba97d8d138a5","name":"Ankur Vyas","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/ankur-vyas-1-150x150.png","url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/ankur-vyas-1-150x150.png","contentUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/ankur-vyas-1-150x150.png","caption":"Ankur Vyas"},"description":"Ankur is a Ruby on Rails Developer and Practice Lead JavaScript. He loves Ruby, JavaScript, reading and writing blogs, problem-solving and taking ownership of work. Apart from coding he likes to listen to songs, gaming and traveling."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/9426","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=9426"}],"version-history":[{"count":5,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/9426\/revisions"}],"predecessor-version":[{"id":16964,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/9426\/revisions\/16964"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/media\/13299"}],"wp:attachment":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=9426"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=9426"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=9426"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}