Is it possible to annotate models under app/models/some_directory if the models do not have SomeDirectory namespace?
on 2009-05-19 18:08
on 2009-05-19 18:36
On 20/05/2009, at 2:08 AM, Milan Dobrota <firstname.lastname@example.org > 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!
on 2009-05-19 18:46
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
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?