Displaying 1 result from an estimated 1 matches for "is_proc".
Did you mean:
s_proc
2010 Sep 27
6
Rails 3 + jQuery ; How to show error messages
...ue %><br />
<%= f.text_area :value , :rows => 3%>
</td>
<td>
<%= f.label :interpolations %><br />
<%= f.text_area :interpolations, :rows => 3 %>
</td>
</tr>
<tr>
<td>
<%= f.label :is_proc %><br />
<%= f.check_box :is_proc %>
</td>
<td></td>
</tr>
</table>
<p><%= f.submit t(''translation.create'') %></p>
<% end %>
Create action like this:
def create
if @translation.save...