Ruby on Rails Monday, December 28, 2015

hai Colin

it's can be work now, with remove the JS script

<%= stylesheet_link_tag 'application', media: 'all',
'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>

scourge : http://stackoverflow.com/questions/20751397/basic-hello-rails-not-working

thanks pal

but did u know why must delete the js script ?


On Mon, Dec 28, 2015 at 5:29 PM, willy wang <willywangg@gmail.com> wrote:
> rails version 4.2.5
> ruby version 2.1.5p273 (2014-11-13 revision 48405)
> tutorial suggest rails v is 4.2.0
>
> here the app/views/layouts/application.html.erb
>
> <!DOCTYPE html>
> <html>
> <head>
> <title>ToyApp</title>
> <%= stylesheet_link_tag 'application', media: 'all',
> 'data-turbolinks-track' => true %>
> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
> <%= csrf_meta_tags %>
> </head>
> <body>
>
> <%= yield %>
>
> </body>
> </html>
>
>
>
> Kindly regards
> Willy Wang



--


Kindly regards
Willy Wang

--
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/CANqk4vgdtqt54oOowTA2v-nJJ7sr0g1vaAEKHbOeNdB%2B0abamg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment