# 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 inthis file: http://jashkenas.github.com/coffee-script/
alert "I knew it!"
My application runs but as soon as I go to the browser I get the following error:
unexpected token at '"ok","\n alert(\"I knew it!\");\n"]
If I take out the //= require_tree . the application works.
Can you help me if you want more info on the application here is the link to it https://github.com/Gerhardk/Battleships its a game which I am writing to get the feel of the new Rails 3.1.1 way of doing things
Hey Ryan I am follower of railscasts it has helped me out of trouble and understanding the way things work thanks alot. The new layout looks awesome.
I have a bit of a problem with coffiescript:
My gem file:
In the application layout:
In my application.js:
In my games.js.coffie:
My application runs but as soon as I go to the browser I get the following error:
unexpected token at '"ok","\n alert(\"I knew it!\");\n"]
If I take out the //= require_tree . the application works.
Can you help me if you want more info on the application here is the link to it https://github.com/Gerhardk/Battleships its a game which I am writing to get the feel of the new Rails 3.1.1 way of doing things
Thanks Gerhard