Forum: Ruby on Rails Annotate Models

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Bc676b4c4f934105ca524a4547f94f51?d=identicon&s=25 Milan Dobrota (milandobrota)
on 2009-05-19 18:08
Is it possible to annotate models under app/models/some_directory if the
models do not have SomeDirectory namespace?
3131fcea0a711e5ad89c8d49cc9253b4?d=identicon&s=25 Julian Leviston (Guest)
on 2009-05-19 18:36
(Received via mailing list)
On 20/05/2009, at 2:08 AM, Milan Dobrota
<rails-mailing-list@andreas-s.net
 > 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/.
>
> >

What do u mean by annotate?

Blog: http://random8.zenunit.com/
Twitter: http://twitter.com/random8r
Learn: http://sensei.zenunit.com/
New video up now at http://sensei.zenunit.com/ real fastcgi rails
deploy process! Check it out now!
B09a3f6cdc4797532647d2d264b5df49?d=identicon&s=25 Jodi Showers (jshow)
on 2009-05-19 18:46
(Received via mailing list)
Milan -

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

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

This plugin may do what you want:

http://agilewebdevelopment.com/plugins/annotate_models

J
Bc676b4c4f934105ca524a4547f94f51?d=identicon&s=25 Milan Dobrota (milandobrota)
on 2009-05-19 18:54
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?
This topic is locked and can not be replied to.