0
client_side_validations를 사용할 때 아래 오류가 나타납니다 ... 내 소스를 아래에 넣었습니다 .. 양식이 복잡하지 않으며 사용하는 간단한 양식입니다. 유증으로 ... 누군가가 ... 문제가 뭔지 좀 도와 줄래레일 3 client_side_validations가 컴파일 오류를 발생시킵니다 (내가 사용하고 있습니다)
오류 :
compile error
C:/project/madhu_ar/app/views/profiles/new.html.erb:2: syntax error, unexpected tASSOC, expecting kEND
...rm_for(@profile), :validate => true do |f| @output_buffer.sa...
^
C:/project/madhu_ar/app/views/profiles/new.html.erb:54: syntax error, unexpected kENSURE,
expecting $end
My Source is like this :
<h1>Business Profile Setup </h1>
<%= form_for(@profile), :validate => true do |f| %>
<div class="field">
<%= f.label :businessname %>
<br />
<%= f.text_field :businessname %>
</div>
<div class="field">
<%= f.label :addressline1 %>
<br />
<%= f.text_field :addressline1 %>
</div>
감사 마더 카