# Annotate Models

**URL:** <https://www.ruby-forum.com/t/annotate-models/168332>\
**Category:** Rails\
**Created:** [May 19, 2009, 6:08pm UTC](https://www.ruby-forum.com/t/annotate-models/168332 "2009-05-19T18:08:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![milandobrota](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9fc29f/32.png) [@milandobrota](https://www.ruby-forum.com/u/milandobrota)\
**Post date:** [May 19, 2009, 6:08pm UTC](https://www.ruby-forum.com/t/annotate-models/168332/1 "2009-05-19T18:08:04Z")

</div>

Is it possible to annotate models under app/models/some\_directory if the  
models do not have SomeDirectory namespace?

---

<div class="post-metadata">

**Author:** ![milandobrota](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9fc29f/32.png) [@milandobrota](https://www.ruby-forum.com/u/milandobrota)\
**Post date:** [May 19, 2009, 6:36pm UTC](https://www.ruby-forum.com/t/annotate-models/168332/2 "2009-05-19T18:36:50Z")

</div>

On 20/05/2009, at 2:08 AM, Milan D.  
\<removed\_email\_address@domain.invalid

> wrote:

> ## Is it possible to annotate models under app/models/some\_directory if the models do not have SomeDirectory namespace?
> 
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> >

What do u mean by annotate?

Blog: [http://random8.zenunit.com/](http://random8.zenunit.com/)  
Twitter: [http://twitter.com/random8r](http://twitter.com/random8r)  
Learn: [http://sensei.zenunit.com/](http://sensei.zenunit.com/)  
New video up now at [http://sensei.zenunit.com/](http://sensei.zenunit.com/) real fastcgi rails  
deploy process! Check it out now!

---

<div class="post-metadata">

**Author:** ![milandobrota](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9fc29f/32.png) [@milandobrota](https://www.ruby-forum.com/u/milandobrota)\
**Post date:** [May 19, 2009, 6:46pm UTC](https://www.ruby-forum.com/t/annotate-models/168332/3 "2009-05-19T18:46:50Z")

</div>

Milan -

On 19-May-09, at 12:35 PM, Julian L. wrote:

> > >
> 
> What do u mean by annotate?

This plugin may do what you want:

[http://agilewebdevelopment.com/plugins/annotate\_models](http://agilewebdevelopment.com/plugins/annotate_models)

J

---

<div class="post-metadata">

**Author:** ![milandobrota](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9fc29f/32.png) [@milandobrota](https://www.ruby-forum.com/u/milandobrota)\
**Post date:** [May 19, 2009, 6:54pm UTC](https://www.ruby-forum.com/t/annotate-models/168332/4 "2009-05-19T18:54:34Z")

</div>

I’m already using the plugin. The thing is that the models are not in  
the app/model directory but they are located one directory down, like  
app/model/advertising  
The plugin expects models to be prefixed with Advertising:: namespace  
which is not the case. Is there any way to annotate them without using  
namespaces?
