barista icon indicating copy to clipboard operation
barista copied to clipboard

Filter "coffeescript" is not defined.

Open jesha opened this issue 12 years ago • 1 comments

Hello

I have a following problem. I'm using HAML views in my rails app and i wanted to use some coffeescript in them. I added Barista to my gemfile:

gem 'haml' gem 'therubyracer' gem 'barista'

and ran bundle install. But when I try to use :coffeescriptfilter I get:

Haml::Error in carts#index

Showing /home/jesha/ror/prefab/app/views/carts/index.html.haml where line #7 raised:

Filter "coffeescript" is not defined. Extracted source (around line #7):

4: 5: %br 6: 7: :coffeescript 8:   alert("test") 9: 10: %table

Do you know what am I doing wrong?

jesha avatar May 18 '12 01:05 jesha

Facing the same problem on Heroku. Any luck?

mhaseebkhan avatar Jun 12 '12 10:06 mhaseebkhan