Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter "coffeescript" is not defined. #60

Open
jesha opened this issue May 18, 2012 · 1 comment
Open

Filter "coffeescript" is not defined. #60

jesha opened this issue May 18, 2012 · 1 comment

Comments

@jesha
Copy link

jesha commented May 18, 2012

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?

@mhaseebkhan
Copy link

Facing the same problem on Heroku. Any luck?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants