1

I have just started learning Rails, is it required for me to learn CoffeeScript as well? Where it becomes useful?

2
  • Very open question, not sure if that conforms to the normal format here. Short answer is: No, you have not. Commented Jun 19, 2012 at 6:12
  • 1
    coffeescript is not required to learn for Rails but good if you do. if you check their website (coffeescript.org) you will see their examples and can learn how it will be useful for you. Commented Jun 19, 2012 at 6:13

1 Answer 1

5

You do not need to know coffeescript to learn rails. While Coffeescript is the default as of rails 3.1 you can change it to use pure javascript instead. To do so:

  1. Comment out gem "coffee-script" in your Gemfile
  2. Use .js instead of .js.coffee for your javascript files
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.