> You might want to jump directly to coffeescript (use the barista gem). It is > the rubyfication of javascript and makes coding client side both fun and > productive again and will be part of rails 3.1. It works more than nicely > with jquery too. Take a look at this presentation if you aren't convinced > yet:http://coffeescript-seattlejs.heroku.com > > Martin
I have coffee-script and barista installed. I got everything working *almost*, but I ran into 1 little snag. Whenever i make a change to a .coffee file... Barista does the right thing and attempts to compile all of my .coffee files automatically. This is cool. However, I always get a compile error - even if the syntax should is correct and the script is very simple. The compilation error doesn't say anything specific about what went wrong either. It just says: Barista::CompilationError Error: In app/coffeescripts/lib/dynamic_menu.coffee, V8::JSError Rails.root: /home/egervari/Projects/training The strange this is... if I restart the server, everything is fine again. When I go to make 1 change to the .coffee file - ANY change at all - this error rears its ugly head again, even though the syntax is 100% okay. Any reason why it would be doing this? -- 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.