And I'm also interpreting "(don't) add code directly here" as not to
uncomment require_tree, because isn't uncommenting equivalent to
adding?

But again other sources say to use require_tree to include separate
files in that directory.

On Jan 13, 2:43 pm, djangst <djan...@gmail.com> wrote:
> I find it confusing, because the language in application.js indicates
> that separate javascript files need only be included in that directory
> and they'll automatically be compiled, while other sources say files
> must be specifically required.
>
> In fact application.js says "not advisable to add code directly here,"
> which I read as "don't do your requiring here, pal," implying that it
> isn't necessary.
>
> Guides didn't make it any clearer.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to