I have a very simple application.
I've done all my models using scaffold and they have their own
js.coffee file under assets.
//= require jquery
//= require jquery_ujs
//= require_tree .
When I run the application the error is:
missing name after . operator
# 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:
like all others js.coffee files.
If I delete documents.js.coffee I don't have the error but I don't
undestand what's the problem in documents.js.coffee.