In the docs for dom_id, this is given as an example... dom_id(Post.new(:id => 45)) # => "post_45" This doesn''t work and I don''t see how it''s supposed to work. :id is a protected attribute, meaning it will be nil. The example above should always return "new_post", not "post_45". Am I missing something here or is this just some bad documentation that got in to Rails? I don''t even see this as an example in the test cases. Thanks, Andrew -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---