On 17 Aug 2010, at 05:19, David Sousa wrote:
I have a form that should be a POST method, but Rails insist to put a
hidden field "_method" that has the value "put" does anyone knows why?
Since @user already exists in the database (you assign an existing
record @current_user to it) and is not
Hello,
I have a form that should be a POST method, but Rails insist to put a
hidden field "_method" that has the value "put" does anyone knows why?
Thanks,
David Sousa
Controller: ---
def new
@user = @current_user
end
-
2 matches
Mail list logo