On 1 December 2015 at 13:12, fugee ohu <fugee279@gmail.com> wrote:
>
> Commenting out turbolinks in my gemfile didn't help
Assuming that you also did bundle install then it is not that problem,
so it is likely just a problem with the javascript. You probably need
to research how to debug js. Start by sprinkling assert statements
through the code. But as I said debugging js is not what this list is
for.
> Also, how do i move
> my javascript to separate assets files
Do you mean you don't know how to code js so that it resides in
separate files (which is not a ROR issue) or you specifically don't
know how to use the rails assets. If the latter then [1] should help.
Note that the fact that you have included the js in the web page is
not likely to be the cause of your problem, it should work there but
it is considered poor practice.
Colin
[1] http://guides.rubyonrails.org/asset_pipeline.html
--
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/CAL%3D0gLuXkzxMqNOUGOJj54nv36KXSEUxmtq5kPCTTMeejphRjA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment