Ruby on Rails
Tuesday, April 2, 2019
Make sure you have the gem bootstrap sass could help
On Wed, 3 Apr 2019 9:03 AM Joe Guerra <JGuerra@jginfosys.com> wrote:
ok, here's my application.js--
// This is a manifest file that'll be compiled into application.js, which will include all the files// listed below.//// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.//// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the// compiled file.//// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details// about supported directives.////= require jquery//= require jquery_ujs//= require turbolinks//= require bootstrap-sprockets//= require ckeditor/config//= require lightbox//= require rails.validations//= require rails.validations.simple_form//= require_tree .
and here are my javascript files ...
rw-r--r-- 1 joe joe 814 Apr 2 15:40 application.js-rw-r--r-- 1 joe joe 9353 Nov 6 19:39 bootstrap-dropdownhover.js-rw-r--r-- 1 joe joe 6787 Nov 6 19:39 bootstrap-dropdownhover.min.js-rw-r--r-- 1 joe joe 5425 Aug 9 2018 bootstrap-hover-dropdown.old-rw-r--r-- 1 joe joe 211 Aug 9 2018 carts.coffee-rw-r--r-- 1 joe joe 211 Aug 9 2018 categories.coffee-rw-r--r-- 1 joe joe 211 Aug 9 2018 category.coffeedrwxr-xr-x 2 joe joe 4096 Aug 9 2018 ckeditor-rw-r--r-- 1 joe joe 211 Oct 25 10:14 invoicing.coffee-rw-rw-r-- 1 joe joe 86927 Mar 29 14:52 jquery-3.3.1.min.js-rw-r--r-- 1 joe joe 253669 Aug 9 2018 jquery-ui.min.js-rw-r--r-- 1 joe joe 45 Aug 9 2018 js.coffee_old-rwxr-xr-x 1 joe joe 18410 Aug 9 2018 lightbox.js-rw-r--r-- 1 joe joe 211 Aug 9 2018 notifications.coffee-rw-r--r-- 1 joe joe 211 Aug 9 2018 pages.coffee-rw-r--r-- 1 joe joe 211 Aug 9 2018 photos.coffee-rw-r--r-- 1 joe joe 211 Aug 9 2018 products.coffee-rw-r--r-- 1 joe joe 22281 Nov 1 11:38 rails.validations.js-rw-r--r-- 1 joe joe 1831 Nov 1 11:38 rails.validations.simple_form.bootstrap4.js-rw-r--r-- 1 joe joe 1912 Nov 1 11:38 rails.validations.simple_form.js-rw-r--r-- 1 joe joe 211 Aug 9 2018 transactions.coffee-rw-r--r-- 1 joe joe 211 Aug 9 2018 users.coffee
On Friday, March 29, 2019 at 4:57:09 PM UTC-4, Brandon McClelland wrote:If your production server is serving JQuery make sure it's the correct version on that server. If source is from somewhere else make sure the Production server's code has the correct URL and double check your load order for all JS assets.On Fri, Mar 29, 2019 at 3:31 PM Joe Guerra <JGu...@jginfosys.com> wrote:I ran console.log(jQuery.fn.jquery);--(which checked the jquery version in the browsers console) and 3.3.1 on the development, 1.12.4 on the production. I would imagine that's what's wrong, now why?
On Friday, March 29, 2019 at 4:04:01 PM UTC-4, Joe Guerra wrote:ok, well I guess JQuery is not running on my production site, but seems to load and run locally...
On Friday, March 29, 2019 at 3:56:29 PM UTC-4, Joe Guerra wrote:I got this dropdown hover script working on my local pc, unfortunately when push it to github and build it on heroku it doesn't work :(It's not a big deal, but it seems odd that's all. I'll be replacing ckeditor with a nice jquery wysiwyg editor (so hoping that works too).
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonra...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/4483f5b0-1ca3-4394-bf81-c280a7d5cd8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Brandon McClellandUser Support TechnicianSteve Jackson Games
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/48dfb0dd-ad39-4214-aa79-f79cac5480e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CA%2B%3DMcKZVZ6-oc5Op9dXMkAU%2BwR2xNbEpoRcd-%2Bz-u%3DRsF%2BAjXQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment