Re: [Rails] Generating RDoc for App

2 views
Skip to first unread message

Bala Paranj

unread,
Jul 21, 2010, 1:53:03 PM7/21/10
to rubyonra...@googlegroups.com
Even IDE s have problem with named_scopes. I don't think RDoc can recognize it. Besides looking like a train wreck, that's one of the reason I don't like named_scopes. 

On Wed, Jul 21, 2010 at 7:23 AM, Will Clark <li...@ruby-forum.com> wrote:
I notice that when I run rake doc:app, that the named_scope declarations
I have in my models aren't being included in the documentation.

Is there a way to get named_scopes in the rdocs?

Thanks,
Will
--
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 rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.




--
Cheers,
Bala
RoR Developer Now Available for Hire

Bill Walton

unread,
Jul 21, 2010, 2:41:43 PM7/21/10
to rubyonra...@googlegroups.com
On Wed, Jul 21, 2010 at 1:21 PM, Marnen Laibow-Koser
<li...@ruby-forum.com> wrote:
> I think you're right, but it wouldn't be hard to patch RDoc to recognize
> it if you want to.

Code, as opposed to unsubstantiated assertions, would be much more credible.

Bill

Marnen Laibow-Koser

unread,
Jul 21, 2010, 6:48:51 PM7/21/10
to rubyonra...@googlegroups.com

The OP's problem isn't mine, so I'm not going to spend the time writing
that code. I was just trying to remind him that it's feasible if he
wants to do it. No more, no less.

In any case, it seems that a patch isn't necessary, based on the feature
mentioned in http://www.ruby-forum.com/topic/213558#927241 . I'm happy
to know about that feature, and I will probably use it a great deal.

>
> Bill

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org

Reply all
Reply to author
Forward
0 new messages