On 9 November 2011 10:56, Mauro <mrsan...@gmail.com> wrote:
> I have a very simple application.
> I've done all my models using scaffold and they have their own
> js.coffee file under assets.
> Application.js is:
>
> //= require jquery
> //= require jquery_ujs
> //= require_tree .
>
> When I run the application the error is:
>
> missing name after . operator
>  (in /home/user/projects/myapp/app/assets/javascripts/documents.js.coffee)

That says the error is in documents.js (plural)

>
> document.js.coffee is:

But that is document singular.  Do you have two files or just a typo?

>
> # Place all the behaviors and hooks related to the matching controller here.
> # All this logic will automatically be available in application.js.
> # You can use CoffeeScript in this file:
> http://jashkenas.github.com/coffee-script/

I presume the new line before http is just the email folding?  What
happens if you empty the file and then, if ok, add it back to find
what is causing the error.

Colin

-- 
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