render_with_haml stomps/usurps the render chain in Rails3 #332

Open
crosebrugh opened this Issue Dec 26, 2010 · 5 comments

Projects

None yet

4 participants

@crosebrugh

haml/helpers/action_view_mods.rb:2
class Base
should be:
module Rendering

in Rails3.

Found this when using haml (for sass) with active scaffold.

@ghost
ghost commented Jan 29, 2011

Upvote for enforcing monkey patches...

https://github.com/vhochstein/active_scaffold/issues/issue/55

@movingelectrons

ditto, having issues with active scaffold & haml.

@RobertLowe

If your using the gem for ActiveScaffold drop it;

Update haml
Vendor vhochstein's fork: https://github.com/vhochstein/active_scaffold

I got mine workin'

@movingelectrons

update haml? Using vhochstein fork already, mine may be out of date though.... I thought this was a haml issue? Using haml gem v3.0.25

@khalsa72

Still an issue with haml v3.1.3 using ActiveScaffold plugin.

Currently working around it by building my own gem:

git clone -s https://github.com/nex3/haml.git
cd haml
git checkout 3.1.3
sed -i -e '2s/class Base/module Rendering/' lib/haml/helpers/action_view_mods.rb
sed -i -e '1s/$/.custom.0/' VERSION
rake package
ls -lha pkg/

Then using pkg/haml-3.1.3.custom.0.gem in my custom app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment