This project is archived and is in readonly mode.
dom_id is unavailable in controllers
Reported by Rick | August 12th, 2009 @ 06:39 AM | in 3.0.2
I can't use dom_id in controllers anymore.
format.html do
redirect_to(forum_topic_post_path(@forum, @topic, @post, :anchor => dom_id(@post)))
end
http://github.com/courtenay/altered_beast/blob/d327bb75ca4d9cd1a95c...
All I had to do was manually include
ActionController::RecordIdentifier
into
ActionController::Base
. That's the easiest fix, but I
wonder if this was taken out on purpose since #dom_id
is primarily used in views.
Comments and changes to this ticket
-
Justin Ko February 26th, 2010 @ 07:22 PM
- Assigned user set to Rick
- Tag set to patch
-
Jeremy Kemper March 7th, 2010 @ 10:30 PM
- State changed from new to open
- Assigned user changed from Rick to Yehuda Katz (wycats)
Regression. The patch removes a railties test instead of fixing it, though.
-
Repository March 9th, 2010 @ 06:49 PM
- State changed from open to committed
(from [ea4f8ef33f08a69a68f6b95f392e63ea9cc13602]) Reinstate dom_id in controllers.
[#3040 state:committed]
Signed-off-by: Santiago Pastorino santiago@wyeworks.com
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net
http://github.com/rails/rails/commit/ea4f8ef33f08a69a68f6b95f392e63... -
Jeremy Kemper October 15th, 2010 @ 11:01 PM
- Milestone set to 3.0.2
- Importance changed from to
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Tags
Referenced by
- 3040 dom_id is unavailable in controllers [#3040 state:committed]