Re: [Rails] Heroku and Javascript

2018-07-26 Thread David Merrick
Thanks On Fri, Jul 27, 2018 at 9:56 AM, Walter Lee Davis wrote: > Sure. In the main application.html.erb of your site, you should see this > line somewhere in the : > > <%= javascript_include_tag 'application', 'data-turbolinks-track': > 'reload' %> > > If you don't, then that's because you

Re: [Rails] Heroku and Javascript

2018-07-26 Thread Walter Lee Davis
Sure. In the main application.html.erb of your site, you should see this line somewhere in the : <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> If you don't, then that's because you moved it into a partial (called rails_defaults, maybe -- that's what I recal

[Rails] Developing Engines within a parent application

2018-07-26 Thread Walter Lee Davis
I'm working on my first project involving Rails Engines, and there's some kind of disconnect for me between the Rails Guides and what is happening in my application. There are several references in the guides to an /engines directory in the parent application, yet when I put my engine (under de

Re: [Rails] Heroku and Javascript

2018-07-26 Thread David Merrick
Are you to give me an example of this please. javascript_include_tag helper On Fri, Jul 27, 2018 at 1:21 AM, Walter Lee Davis wrote: > > > On Jul 26, 2018, at 1:43 AM, David Merrick wrote: > > > > Got some issues not sure how to fix. > > > > My application.html.erb in Production on local syste

Re: [Rails] Heroku and Javascript

2018-07-26 Thread David Merrick
Thanks Walter for the help On Fri, Jul 27, 2018 at 1:21 AM, Walter Lee Davis wrote: > > > On Jul 26, 2018, at 1:43 AM, David Merrick wrote: > > > > Got some issues not sure how to fix. > > > > My application.html.erb in Production on local system > > > > Has the following code. Comes up with th

Re: [Rails] Heroku and Javascript

2018-07-26 Thread Walter Lee Davis
> On Jul 26, 2018, at 1:43 AM, David Merrick wrote: > > Got some issues not sure how to fix. > > My application.html.erb in Production on local system > > Has the following code. Comes up with the error '(index):39 Uncaught > ReferenceError: play is not defined at onload ((index):39)" > >