0
私はRoRで新しく、 "Débuteravec Ruby on Rails"でテストします。それはSteven Holznerの "Ruby on Railsの始まり"のフランス語です。私はLook#input
中にSyntaxErrorを持っている:Ruby on RailsのLook#入力のSyntaxError
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 <=
問題はどのようなものですか?
を試し – user482594