> ...
> At this point I discovered that coffeescript is not a superset of
> javascript.  I copied the javascript line-for-line into a new coffeescript
> file and Rails barfed.  I have never used coffeescript, but from the looks
> of things, I needed to learn fast.

Just for reference, I believe that you can use straight js in rails 5.
If you use the extension .js then it will interpret them as js.  I
can't guarantee this as I have not done it, but I am fairly confident
it is correct.

Colin

-- 
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+unsubscr...@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%3D0gLsjF%2BXs8GYKZ_UWvKnUg8mn90fBX09eYehnsKB2pMaSTA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to