This project is archived and is in readonly mode.
button_to shows wrong method
-
Gabriel Medina
Hi, I checked this bug, but can't reproduce ...
Exactly same code produces (correctly):
Could you double check the version of rails you're using and if possible button_to definition in rails/actionpack/lib/action_view/helpers/url_helper.rb?
Thanks,
-
Gabriel Medina
HTML code got swallowed. Sorry. Here it is:
@@@html
-
Gabriel Medina
Code again .... >:| @@@html <form method="post" action="/main/remove_from_project/777?assignment_id=7777" class="button-to"><div><input onclick="return confirm('Are you sure you want to remove this user from the project?');" type="submit" value="Remove" /><input name="authenticity_token" type="hidden" value="d1e8628fb742d85f62ae1e9c7a789e2e99281be3" /></div></form>
Here's a pastie just in case [Output for button_to](http://www.pastie.org/295221 "Output for button_to") -
Gabriel Medina
<form method="post" action="/main/remove_from_project/777?assignment_id=7777" class="button-to"><div><input onclick="return confirm('Are you sure you want to remove this user from the project?');" type="submit" value="Remove" /><input name="authenticity_token" type="hidden" value="d1e8628fb742d85f62ae1e9c7a789e2e99281be3" /></div></form> -
Pratik
- State changed from new to invalid
Works for me. Please submit a failing test if it's still an issue.
Thanks.
-
Repository
(from [5e4b9469279ea798470ae33c5c0c4cdc503bada6]) Fixed the end_of_* to work with Time.usec (and Time.nsec in ruby1.9) [#1225 button_to shows wrong method status:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/5e4b9469279ea798470ae33c5c0c4c...