# How to disable rdoc method autolink

**URL:** <https://www.ruby-forum.com/t/how-to-disable-rdoc-method-autolink/141674>\
**Category:** Ruby\
**Created:** [June 29, 2008, 1:27am UTC](https://www.ruby-forum.com/t/how-to-disable-rdoc-method-autolink/141674 "2008-06-29T01:27:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fxn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/77aa72/32.png) [@fxn](https://www.ruby-forum.com/u/fxn)\
**Post date:** [June 29, 2008, 1:27am UTC](https://www.ruby-forum.com/t/how-to-disable-rdoc-method-autolink/141674/1 "2008-06-29T01:27:00Z")

</div>

This documentation

[Peak Obsession](http://api.rubyonrails.com/classes/ActiveRecord/NamedScope/ClassMethods.html#M001243)

has some autolinked “scopes” that are just regular English. Reason is  
there’s a scopes method, see the bottom of the page.

Is there a way to prevent those autolinks with markup? I’ve checked  
the docs and the source code to no avail.

---

<div class="post-metadata">

**Author:** ![fxn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/77aa72/32.png) [@fxn](https://www.ruby-forum.com/u/fxn)\
**Post date:** [June 30, 2008, 9:17am UTC](https://www.ruby-forum.com/t/how-to-disable-rdoc-method-autolink/141674/2 "2008-06-30T09:17:30Z")

</div>

On Jun 28, 2008, at 16:23 PM, Xavier N. wrote:

> This documentation
> 
> [Peak Obsession](http://api.rubyonrails.com/classes/ActiveRecord/NamedScope/ClassMethods.html#M001243)
> 
> has some autolinked “scopes” that are just regular English. Reason is  
> there’s a scopes method, see the bottom of the page.
> 
> Is there a way to prevent those autolinks with markup? I’ve checked  
> the docs and the source code to no avail.

The rdoc-2.0.0 gem supports this by prefixing with .
