Colin Law wrote:
> 2009/6/4 Colin Law <[email protected]>:
>> To include a javascript file of your own use
>> <%= javascript_include_tag 'testjs' %>
>> where test.js is in public/javascripts
>>
> 
> Correction
> <%= javascript_include_tag 'test' %>
> where test.js is in public/javascripts

Okay, I went and changed it to this:

<%= javascript_include_tag :defaults %>
<%= javascript_include_tag 'test' %>

Where I am now including 'test' rather than 'testjs'.  I changed this in 
my ~/app/view/layouts/[controller name].html.erb file.

I'm still getting the same error.

My idea was to not really use JS at all, because of the headache it 
seems to always be, but here I am! :(

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to