weird error w Rails 3.1 ( Haml and html5)

30 views
Skip to first unread message

kadoudal

unread,
Jan 14, 2012, 5:46:11 AM1/14/12
to Haml
I am trying display an image with :

= image_tag ("errors/not_found_medium.jpg", :size => "300x300", :alt
=> "error")

and I am getting a 550 error .. during haml compiling , seems not
accepting any option ( :size .. :alt .. height )


ERROR: compiling
_app_views_errors_render_____html_haml___2608007141878431500_70318571565920
RAISED /Users/yves/Developpement/Projects/DRONES/videopromo/app/views/
errors/render_404.html.haml:15: syntax error, unexpected ',',
expecting ')'
...("errors/not_found_medium.jpg", :size => "300x300", :alt => ...


what could be wrong ?

kadoudal

unread,
Jan 19, 2012, 6:16:55 PM1/19/12
to Haml
solved .. don"t know what on this line.. but duplication a similar one
from another script it runs ..

haml_newbie

unread,
Feb 16, 2012, 3:44:20 AM2/16/12
to ha...@googlegroups.com
Why is this group no one comes?  ~5 views per post, it's very bad
Reply all
Reply to author
Forward
0 new messages