hello all, as I am exploring ruby/rails functionality how do you research ruby/rails code? cause you can''t ctrl click to navigate to relate code like in Java IDE, and I checked out GNU Global but it seems only handle C/C++ code not ruby code(while good for examing C part of ruby source). So how to you explore or research ruby/rails code? --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
On 22 Aug 2006, at 16:02, femto femto wrote:> hello all, as I am exploring ruby/rails functionality > how do you research ruby/rails code? > cause you can''t ctrl click to navigate to relate code like in Java > IDE, > and I checked out GNU Global but it seems only handle C/C++ code > not ruby code(while good for examing C part of ruby source). > So how to you explore or research ruby/rails code?I''m not sure exactly what you are asking for but by the sounds of it, you''re asking how to navigate ruby on rails code? I think that depends on what platform and development environment you are using. If could be worth you checking out RadRails (www.radrails.org) which is a Rails-oriented IDE based on Eclipse. If you are Mac/OSX based, then it could be worth taking a look at Textmate (www.macromates.com). Hope this is relevant/helpful Alastair ------ Alastair Moore Standards compliant web development with Ruby On Rails, PHP and ASP www.kozmo.co.uk 07738 399038 --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
hello Alastair , I''m using RadRails, but I can''t navigate to the source of method, like when developing java in Idea or Eclipse, you can ctrl + click one method to navigate to its definition, it''s very convenient for you to see the source of other open-source project or jdk''s source.So I want to ask how to do this in ruby/rails related environment. (don''t know whether I clarify these, I will give a example, say, I''am following the ''agile web development with rails'' and generate scaffold of Product, and I am wondering what happen behind the scenes, so i open the new.rhtml, _form.rhtml to see, and see _form.rhtml invoke text_field ,text_area method, and I want to follow into these method to see exactly what these method does.Regards On 8/22/06, Alastair Moore <alastair-mb+lb5rSoAr10XsdtD+oqA@public.gmane.org> wrote:> > > > > > > On 22 Aug 2006, at 16:02, femto femto wrote: > > > hello all, as I am exploring ruby/rails functionality > how do you research ruby/rails code? > cause you can''t ctrl click to navigate to relate code like in Java IDE, > and I checked out GNU Global but it seems only handle C/C++ code > not ruby code(while good for examing C part of ruby source). > So how to you explore or research ruby/rails code? > > > I''m not sure exactly what you are asking for but by the sounds of it, you''re asking how to navigate ruby on rails code? I think that depends on what platform and development environment you are using. If could be worth you checking out RadRails (www.radrails.org) which is a Rails-oriented IDE based on Eclipse. If you are Mac/OSX based, then it could be worth taking a look at Textmate (www.macromates.com). > > > Hope this is relevant/helpful > > > Alastair > > > > ------ > Alastair Moore > Standards compliant web development with Ruby On Rails, PHP and ASP > www.kozmo.co.uk > 07738 399038 > > > > >-- Best Regards femto http://femto.blogdriver.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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
femto femto wrote:> how do you research ruby/rails code? > cause you can''t ctrl click to navigate to relate code like in Java IDETry exuberant ctags: http://ctags.sourceforge.net. It can handle countless languages, and the tag format is recognized by most power editors. In emacs you would do M-. RET (that''s alt-. enter), in vi it would be C-]. Other editors like jedit, crisp, ultredit can also make use of the ctags output. Zsombor -- Company - http://primalgrasp.com Thoughts - http://deezsombor.blogspot.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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---