Killall-9.NET

Blog de David Sedeño

Fallo de Haml con Rails3

Posted by David Sedeño 31/08/2010 at 16h14

Me he topado con un problema al actualizar un proyecto de Rails 3RC a la version 3 definitiva y Haml.  El error que suelta es:

 form_tag outputs directly to the Haml template.
Disregard its return value and use the - operator,
or use capture_haml to get the value as a String.
 

El problema lo han corregido en 1 día, sacando una nueva versión de Haml, la 3.0.18, pero puede dar algún que otro dolor de cabeza.

Para un proyecto ya existente con las versiones previas de Rails 3 lo mejor es poner en el Gemfile:

gem 'haml', ">=3.0.18"

y depues ejecutar

bundle install

 

 

Posted in | 1 comment |

Trackbacks

Use the following link to trackback from your own site:
http://www.killall-9.net/trackbacks?article_id=819

  1. Hot Water Recirculation System
    10/02/2011 at 06h47
    I am totally agree with your oppinion.this blog post is very encouraging to people who want to know these topics.