Published in: Rails
Simple Form, since startformtag is deprecated
<% form_tag(:controller => "login", :action => "update", :id => @user) do %> <%= text_field 'user', 'yummid' %> <%= submit_tag 'Save' %> <% end %>
You need to login to post a comment.
The Rails Way
Now, for the first time, there’s a comprehensive, authoritative guide to building production-quality software with Rails. Pioneering Rails developer Obie Fernandez and a team of experts illuminate the entire Rails API, along with the Ruby idioms, design approaches, libraries, and plug-ins that make Rails so valuable.
indianocean on 04/20/07
Published in: Rails
Simple Form, since startformtag is deprecated
<% form_tag(:controller => "login", :action => "update", :id => @user) do %> <%= text_field 'user', 'yummid' %> <%= submit_tag 'Save' %> <% end %>
You need to login to post a comment.