Displaying 1 result from an estimated 1 matches for "zea56".
Did you mean:
ev56
2012 Apr 06
3
I can't update data in table
In my edit page: url = profile/:id/edit
the content is !
<%= form_for(@user, :as => :user, :url => profile_path(current_user),
:html=>{:method => :put}) do |form| %>
<%= form.text_field :email, :class=>"input"%>
<%= form.submit ''Update Profile''%>
<% end %>
............................
In controller section !
class