I past and copy below the content of my application.js file.
The lines '//= require jquery' and '//= require jquery_ujs' should assure
that the jquery and jquery-ujs files provided by jquery-rails gem will be
added to the asset pipeline and available for use. "The require_tree
directive tells Sp
> On Jul 10, 2016, at 8:43 AM, 'krfg' via Ruby on Rails: Talk
> wrote:
>
> The default setting in my application.html.erb is:
>
> <%= stylesheet_link_tag 'application', media: 'all',
> 'data-turbolinks-track': 'true' %>
> <%= javascript_include_tag 'application', 'data-turbolinks-track':
On Sun, Jul 10, 2016 at 5:43 AM, 'krfg' via Ruby on Rails: Talk
wrote:
> I therefore planned to put all the javascript (jQuery and bootstrap) for my
> application in custom.js inside app/assets/javascript.
> Would rails automatically load this file or am I expected to explicitly tell
> rails to l
The default setting in my application.html.erb is:
<%= stylesheet_link_tag 'application', media: 'all',
'data-turbolinks-track': 'true' %><%= javascript_include_tag 'application',
'data-turbolinks-track': 'true' %>
I have a cusom.css.scss file in app/assets/stylesheets which is included as
4 matches
Mail list logo