This project is archived and is in readonly mode.

#437 ✓resolved
Andrew Kaspick

dom_id doc patch

Reported by Andrew Kaspick | June 17th, 2008 @ 07:34 AM

dom_id(Post.new(:id => 45)) # post_45

This is not possible as :id is a protected attribute and can't be assigned to, so the original example will always generate "new_post".

Comments and changes to this ticket

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

Pages