I have a simple User form with a simple Usercontroller.
The 'edit' action looks like:
def edit
@user = current_user
end
In the view:
<% form_for(@user) do |f| %>
blah blah
<% end %>
What it generates is:
<form action="/user.%23%3Cuser:0x34a498c%3E" class="edit_user"
id="edit_user_196" method="post">
<div style="margin:0;padding:0"><input name="_method" type="hidden"
value="put" />
<input class="inline" id="user_login" name="user[login]" size="30"
type="text" />.
<input src="/images/buttons/registreren.png?1239978560"
type="image" />
</form>
How does that form 'action' field becomes so b0rked?
Running Rails 2.3.2
Harm
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---