rails/rails — Issue #4022: Coffescript not working at 3.1.3
Author: lefty313
Created: 2011-12-18 20:50:41+00:00
State: open

Hello

https://github.com/lefty313/just_testing

This is my test application (1 controller, 1 view, 1 coffee file)

https://github.com/josh/ruby-coffee-script/issues/12

Because of this bug I downgraded to 'coffee-script-source', '1.1.2'

When I try open app with http://localhost:3000 I get this error on line 6

````ruby
ActionView::Template::Error (
(in /home/lewy/programowanie/projekty/gems/blog/app/assets/javascripts/dashboard.js.coffee)):
3:

4:

Blog

5: <%= stylesheet_link_tag "application" %>
6: <%= javascript_include_tag "application" %>
7: <%= csrf_meta_tags %>
8:

9:

app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb___3869573840427836172_39485100'

````

If I delete app/assets/javascript/dashboard.js.coffee or rename to dashboard.js everything works ok.