Я новичок в RoR и тестирую с "Débuter avec Ruby on Rails". Это на французском языке "Begining Ruby on Rails" Стивена Хольцнера. У меня есть SyntaxError в Look#input
:
Showing /home/rene/ruby_dev/ch05/txt2fields/app/views/look/input.html where line #9 raised:
/home/rene/ruby_dev/ch05/txt2fields/app/views/look/input.html:9: syntax error, unexpected ',', expecting ')'
...rt_form_tag ({:action => "at"}, {:method = > "post"} ));@out...
... ^
/home/rene/ruby_dev/ch05/txt2fields/app/views/look/input.html:9: syntax error, unexpected '}', expecting ')'
... => "at"}, {:method = > "post"} ));@output_buffer.safe_conca...
... ^
/home/rene/ruby_dev/ch05/txt2fields/app/views/look/input.html:12: syntax error, unexpected ',', expecting ')'
...end= ( text_field_tag ("text2", "", ["size" => 30]) );@outpu...
... ^
Извлеченный источник (около строки № 9):
6: <h1>Les champs de saisie (champs de texte) version 2</h1>
7: Cette application Ruby on Rails lit du texte saisi.
8: <br>
9: <%= start_form_tag ({:action => "at"}, {:method = > "post"} )%>
10: Veuillez saisir votre nom.
11: <br>
12: <%= text_field_tag ("text2", "", ["size" => 30]) %>
Трассировка включения шаблона:
app/views/look/input.html <=
В чем проблема?