I''m trying to decide which IDE to go with for RoR development. I put a high premium on integrated test automated tools and debugging capabilities. I''d appreciate any sharing of experience. I''m currently running Instant Rails on a Windows 2000 box (using IR due to problems I encountered trying to get all the components set up individually). Also, I''m using the WeBrick server rather than Apache. Thanks, Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060217/c3b474a8/attachment.html
Frank Hale
2006-Feb-17 17:26 UTC
[Instantrails-users] ''Best'' IDE for testing and debugging
Rad Rails - www.radrails.org That''s my recommendation On 2/17/06, Bill Walton <bill.walton at charter.net> wrote:> > I''m trying to decide which IDE to go with for RoR development. I put a high > premium on integrated test automated tools and debugging capabilities. I''d > appreciate any sharing of experience. > > I''m currently running Instant Rails on a Windows 2000 box (using IR due to > problems I encountered trying to get all the components set up > individually). Also, I''m using the WeBrick server rather than Apache. > > Thanks, > Bill > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > >
David Morton
2006-Feb-17 18:18 UTC
[Instantrails-users] ''Best'' IDE for testing and debugging
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Frank Hale wrote:> Rad Rails - www.radrails.org > > That''s my recommendationAgreed. It''s my rails tool of choice. - -- David Morton Maia Mailguard - http://www.maiamailguard.com Morton Software Design and Consulting - http://www.dgrmm.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD9hNdSIxC85HZHLMRAj/YAJ4moDmVp+TV0Cs8lMqCeEREW6EI7ACfcKZr b/vaucqiTHlrw/ZtXzHzKEc=hgEm -----END PGP SIGNATURE-----
Curt Hibbs
2006-Feb-17 18:23 UTC
[Instantrails-users] ''Best'' IDE for testing and debugging
I haven''t used it yet. Is it better, or just comparable, to using Eclipse with the RDT plugin? Curt On 2/17/06, David Morton <mortonda at dgrmm.net> wrote:> > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Frank Hale wrote: > > Rad Rails - www.radrails.org > > > > That''s my recommendation > > Agreed. It''s my rails tool of choice. > > > - -- > David Morton > Maia Mailguard - http://www.maiamailguard.com > Morton Software Design and Consulting - http://www.dgrmm.net > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFD9hNdSIxC85HZHLMRAj/YAJ4moDmVp+TV0Cs8lMqCeEREW6EI7ACfcKZr > b/vaucqiTHlrw/ZtXzHzKEc> =hgEm > -----END PGP SIGNATURE----- > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060217/87dcbb5f/attachment.htm
David Morton
2006-Feb-17 18:42 UTC
[Instantrails-users] ''Best'' IDE for testing and debugging
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Curt Hibbs wrote:> I haven''t used it yet. Is it better, or just comparable, to using > Eclipse with the RDT plugin?Well, my experience was - I couldn''t get Eclipse and all to work. RadRails is super easy to install. Unpack, and run the file. I think RadRails now uses RDT, so it should be fairly close. - -- David Morton Maia Mailguard - http://www.maiamailguard.com Morton Software Design and Consulting - http://www.dgrmm.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD9hkvSIxC85HZHLMRAm3NAKCcd0tiu6iDRz35TD6OKZnaq7T+JQCePvtj p37llaPGpuADlEdPjCAg7to=ZXs+ -----END PGP SIGNATURE-----
On 2/17/06, Bill Walton <bill.walton@charter.net> wrote:> > I''m trying to decide which IDE to go with for RoR development. I put a high > premium on integrated test automated tools and debugging capabilities. I''d > appreciate any sharing of experience. > > I''m currently running Instant Rails on a Windows 2000 box (using IR due to > problems I encountered trying to get all the components set up > individually). Also, I''m using the WeBrick server rather than Apache. > > Thanks, > Bill > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >I would check out Komodo from ActiveState.
Mike Smith
2006-Feb-17 21:15 UTC
[Instantrails-users] ''Best'' IDE for testing and debugging
I''ve browsed a little at the RadRails site. http://www.radrails.org/ Currently, I''m using ConTEXT with the Ruby highlighter, and I modified the PHP+HTML highlighter to create my own rhtml highlighter. http://www.context.cx/ I use WinXP with IR. Seems to work ok with WebBrick. Mike Bill Walton wrote:> I''m trying to decide which IDE to go with for RoR development. I put a > high premium on integrated test automated tools and debugging > capabilities. I''d appreciate any sharing of experience. > > I''m currently running Instant Rails on a Windows 2000 box (using IR due > to problems I encountered trying to get all the components set up > individually). Also, I''m using the WeBrick server rather than Apache. > > Thanks, > Bill > > > ------------------------------------------------------------------------ > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users-- Mike Smith Senior Software Engineer RemedyMD, Inc. msmith at remedymd.com www.remedymd.com 435-764-2220
> On 2/17/06, Bill Walton <bill.walton@charter.net> wrote: >> >> I''m trying to decide which IDE to go with for RoR development. I put a >> high >> premium on integrated test automated tools and debugging capabilities. >> I''d >> appreciate any sharing of experience.I''m using Eclipse with Ruby Development Tools. I don''t tend to use the debugger very often, but it does work. The unit testing facilities are fine. And there''s the extensibility of Eclipse (for example, I use the vi plug-in). In fact, I''ve gone off the Rails for a bit to play around with Eclipse plug-in development. ///ark
Bill: If you''re interested in Eclipse and RDT, I might suggest the setup I use in my development. I find it much more useful than RadRails*** but you have to build it yourself. (I do provide downloadable configuration files and templates to speed up the process. http://www.napcs.com/howto/railsonwindows.html Screens here: http://www.napcs.com/howto/railsonwindows-screens.html *** RadRails http://www.radrails.org is coming along nicely though. -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Mark Wilden Sent: Friday, February 17, 2006 3:48 PM To: rails@lists.rubyonrails.org Subject: Re: [Rails] ''Best'' IDE for testing and debugging> On 2/17/06, Bill Walton <bill.walton@charter.net> wrote: >> >> I''m trying to decide which IDE to go with for RoR development. I put>> a >> high >> premium on integrated test automated tools and debuggingcapabilities.>> I''d >> appreciate any sharing of experience.I''m using Eclipse with Ruby Development Tools. I don''t tend to use the debugger very often, but it does work. The unit testing facilities are fine. And there''s the extensibility of Eclipse (for example, I use the vi plug-in). In fact, I''ve gone off the Rails for a bit to play around with Eclipse plug-in development. ///ark _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails
I''m creating an AR object in my controller and then attempting to add error messages to it: if (master_storeids.nil?) @item.errors.add_to_base ''No store is selected'' end This works without error but when it comes time for AR to add the record, it apparently initializes the errors because the message that I added does not cause the AR add to fail as you would expect. Even when there is a validation error in AR the message that I added does not show up in the list of errors on the resulting page. So, am I doing something wrong? If not, how can I add my controller errors to the AR errors so that they are reported on the resulting page (and cause AR to not add the record)? -- Posted with http://DevLists.com. Sign up and save your time!
Great piece of writing. del.icio.us''ed the link instantly. On 18.?ub.2006, at 00:00, Hogan, Brian P. wrote:> Bill: > > If you''re interested in Eclipse and RDT, I might suggest the setup > I use > in my development. I find it much more useful than RadRails*** but you > have to build it yourself. (I do provide downloadable configuration > files and templates to speed up the process. > > http://www.napcs.com/howto/railsonwindows.html > > Screens here: > http://www.napcs.com/howto/railsonwindows-screens.html > > > *** RadRails http://www.radrails.org is coming along nicely though. > > > > -----Original Message----- > From: rails-bounces@lists.rubyonrails.org > [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Mark Wilden > Sent: Friday, February 17, 2006 3:48 PM > To: rails@lists.rubyonrails.org > Subject: Re: [Rails] ''Best'' IDE for testing and debugging > > >> On 2/17/06, Bill Walton <bill.walton@charter.net> wrote: >>> >>> I''m trying to decide which IDE to go with for RoR development. I >>> put > >>> a >>> high >>> premium on integrated test automated tools and debugging > capabilities. >>> I''d >>> appreciate any sharing of experience. > > I''m using Eclipse with Ruby Development Tools. I don''t tend to use the > debugger very often, but it does work. The unit testing facilities are > fine. > And there''s the extensibility of Eclipse (for example, I use the vi > plug-in). > > In fact, I''ve gone off the Rails for a bit to play around with Eclipse > plug-in development. > > ///ark > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
On 2/17/06, Aaron Kulbe <akulbe@gmail.com> wrote:> I would check out Komodo from ActiveState.I''ve been familiar with ActiveState for years, because of their Windows version of Perl. Until you mentioned this, however, it never occured to me to check out their IDE. I''ll be downloading the demo version tonight. For anyone who is already using it, can you say that it''s worth $300? I''ve been switching between RadRails and jEdit on my Linux box for most of my development. RadRails takes up too much memory for that particular box, and is generally sluggish. I love Eclipse, however, and have been using it for years. So it would seem that RadRails will eventually reach that level. jEdit is fast and clean. What I''m really missing though, which is my main motivator for checking out Komodo, is a good debugger that works against a running Rails server. -- James
From: "Hogan, Brian P." <HOGANBP@uwec.edu>>If you''re interested in Eclipse and RDT, I might suggest the setup I use >in my development. I find it much more useful than RadRails*** but you >have to build it yourself. (I do provide downloadable configuration >files and templates to speed up the process.>http://www.napcs.com/howto/railsonwindows.htmlI should say that I found Brian''s instructions absolutely invaluable when I set up Eclipse and RDT.
Hello Bill, Checkout Eclipse with the RADRails plugin http://www.radrails.org. Young, promising and free! sinclair> _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
I''ve found that the best debugger on Windows is in the ArachnoRuby product (http://www.ruby-ide.com/ruby/ruby_ide_and_ruby_editor.php). The debugger performs very well and is feature complete. I do not care for it as an IDE for development, but that''s just a personal preference. Great article Brian. Michael
Bad news for Linux users though -like me :(. The version is stuck at 0.5.6 last updated on 27. Apr. 2005. And it does not run on Debian since it appears that Arachnoruby requires Ruby itself to be patched for its fast debugger to work. I asked this on the list once before. I wonder if FreeRIDE would make a good IDE. I was using it till RadRails came along. It does have a debugger but is not especially good at rails since the file browser only shows .rb files. With its data bus architecture a rails plugin would be a great addition. If my Ruby skills get there I might give it a shot. -bakki On 2/20/06, Michael Trier <mtrier@gmail.com> wrote:> I''ve found that the best debugger on Windows is in the ArachnoRuby
I have used Arachnoruby on windows before and the debugger worked out of the box. I don''t remember doing any patches to get it to work. Unless there is a faster version of the debugger that you are referring to. It worked plenty fast for me and I was able to debug rails nicely. On 2/20/06, Bakki Kudva <bakki.kudva@gmail.com> wrote:> > Bad news for Linux users though -like me :(. The version is stuck at > 0.5.6 last updated on 27. Apr. 2005. And it does not run on Debian > since it appears that Arachnoruby requires Ruby itself to be patched > for its fast debugger to work. > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060220/e93711d1/attachment.html
I''ve been using ActiveState Komodo for Rails development for a few months nowand I''m very happy with it. ActiveState seems to be moving in a positive direction as far as Ruby and Rails. Ryan On 2/20/06, Michael Trier <mtrier@gmail.com> wrote:> > I''ve found that the best debugger on Windows is in the ArachnoRuby > product (http://www.ruby-ide.com/ruby/ruby_ide_and_ruby_editor.php). > The debugger performs very well and is feature complete. I do not > care for it as an IDE for development, but that''s just a personal > preference. > > Great article Brian. > > Michael > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Ryan Thompson ryan@rrt.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060220/5fd45e27/attachment-0001.html
I was only talking about the Linux version. The windows version 0.6.5 is much more advanced and has one more year of development time on it. -bakki On 2/20/06, Jeff Barczewski <jeff.barczewski@gmail.com> wrote:> I have used Arachnoruby on windows before and the debugger worked out of the > box. I don''t remember doing any patches to get it to work. Unless there is a > faster version of the debugger that you are referring to. It worked plenty > fast for me and I was able to debug rails nicely. > > > On 2/20/06, Bakki Kudva <bakki.kudva@gmail.com> wrote: > > Bad news for Linux users though -like me :(. The version is stuck at > > 0.5.6 last updated on 27. Apr. 2005. And it does not run on Debian > > since it appears that Arachnoruby requires Ruby itself to be patched > > for its fast debugger to work. > > > > > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >
On 2/17/06, Hogan, Brian P. <HOGANBP@uwec.edu> wrote:> Bill: > > If you''re interested in Eclipse and RDT, I might suggest the setup I use > in my development. I find it much more useful than RadRails*** but you > have to build it yourself. (I do provide downloadable configuration > files and templates to speed up the process. > > http://www.napcs.com/howto/railsonwindows.html > > Screens here: > http://www.napcs.com/howto/railsonwindows-screens.html > > > *** RadRails http://www.radrails.org is coming along nicely though. > > > > -----Original Message----- > From: rails-bounces@lists.rubyonrails.org > [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Mark Wilden > Sent: Friday, February 17, 2006 3:48 PM > To: rails@lists.rubyonrails.org > Subject: Re: [Rails] ''Best'' IDE for testing and debugging > > > > On 2/17/06, Bill Walton <bill.walton@charter.net> wrote: > >> > >> I''m trying to decide which IDE to go with for RoR development. I put > > >> a > >> high > >> premium on integrated test automated tools and debugging > capabilities. > >> I''d > >> appreciate any sharing of experience. > > I''m using Eclipse with Ruby Development Tools. I don''t tend to use the > debugger very often, but it does work. The unit testing facilities are > fine. > And there''s the extensibility of Eclipse (for example, I use the vi > plug-in). > > In fact, I''ve gone off the Rails for a bit to play around with Eclipse > plug-in development. > > ///ark > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >Does Eclipse, in any form, support code completion and/or code formatting? By code completion I don''t mean diving my method names from objects, but more like when I type "def foo", it automatically inserts "end" below it. Same thing for code formatting, when I type "def foo" or "if object.empty?", it''ll automatically indent me two more spaces when hit enter, end un-indent me when I type "end". It''s a deal-breaker for me and when I last tried Eclipse it didn''t do this. Am I just ignorant about how to turn this on? Also, I''ve been mighty disappointed in Komodo. I loved Komodo for PHP work, but it just isn''t Ruby ready. The RHTML support is awful, the debugging breaks your scripts more often than it works, and it lacks all but the most basic niceties for Ruby editing. Unfortunately, the best editor I''ve found that''ll run on Windows is jEdit. I say unfortunately because, being written in Java + SWING, it''s slow as all get out to use. It just has that sluggish Java bloat to it that we all know and hate. It also takes a whole ''lotta configuration to get up and running in any usable way. But even with all of that, it still works the best. At least until UltraEdit gets Ruby support or Komodo cleans up its act. Really, a good editor is one of my biggest hang-ups with using Rails. I love the framework to death, but actually writing code for it is an excercise in constant frustration. I really wish TextMate would be ported to Windows, it would really help Rails adoptation. -- -Matt Torok
Yes, Matt. It does, thanks to Ruby Developer Tools and the Web Tools platform for Eclipse.. I have some Rails-specific templates available on my site. If you follow those instructions, you''ll be able to do quite a bit of completion. In an editor (rb or rhtml files) you can do CTRL + Spacebar and then type letters to start the completion process. It''s actually very handy and the only way we get stuff done around here. See http://www.napcs.com/howto/railsonwindows.html for details. As I learn more about Rails, I add more to the template files for my build. And I just received some wonderful news today that just by using the Mac version of Eclipse, my instructions can {mostly) be followed to make the environment available on the Mac under OSX. Instructions for Linux are coming soon, as I finally have it working on Debian. On 2/20/06, Matt Torok <magicmat@gmail.com> wrote:> > On 2/17/06, Hogan, Brian P. <HOGANBP@uwec.edu> wrote: > > Bill: > > > > If you''re interested in Eclipse and RDT, I might suggest the setup I use > > in my development. I find it much more useful than RadRails*** but you > > have to build it yourself. (I do provide downloadable configuration > > files and templates to speed up the process. > > > > http://www.napcs.com/howto/railsonwindows.html > > > > Screens here: > > http://www.napcs.com/howto/railsonwindows-screens.html > > > > > > *** RadRails http://www.radrails.org is coming along nicely though. > > > > > > > > -----Original Message----- > > From: rails-bounces@lists.rubyonrails.org > > [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Mark Wilden > > Sent: Friday, February 17, 2006 3:48 PM > > To: rails@lists.rubyonrails.org > > Subject: Re: [Rails] ''Best'' IDE for testing and debugging > > > > > > > On 2/17/06, Bill Walton <bill.walton@charter.net> wrote: > > >> > > >> I''m trying to decide which IDE to go with for RoR development. I put > > > > >> a > > >> high > > >> premium on integrated test automated tools and debugging > > capabilities. > > >> I''d > > >> appreciate any sharing of experience. > > > > I''m using Eclipse with Ruby Development Tools. I don''t tend to use the > > debugger very often, but it does work. The unit testing facilities are > > fine. > > And there''s the extensibility of Eclipse (for example, I use the vi > > plug-in). > > > > In fact, I''ve gone off the Rails for a bit to play around with Eclipse > > plug-in development. > > > > ///ark > > > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > Does Eclipse, in any form, support code completion and/or code > formatting? By code completion I don''t mean diving my method names > from objects, but more like when I type "def foo", it automatically > inserts "end" below it. Same thing for code formatting, when I type > "def foo" or "if object.empty?", it''ll automatically indent me two > more spaces when hit enter, end un-indent me when I type "end". > > It''s a deal-breaker for me and when I last tried Eclipse it didn''t do > this. Am I just ignorant about how to turn this on? > > Also, I''ve been mighty disappointed in Komodo. I loved Komodo for PHP > work, but it just isn''t Ruby ready. The RHTML support is awful, the > debugging breaks your scripts more often than it works, and it lacks > all but the most basic niceties for Ruby editing. > > Unfortunately, the best editor I''ve found that''ll run on Windows is > jEdit. I say unfortunately because, being written in Java + SWING, > it''s slow as all get out to use. It just has that sluggish Java bloat > to it that we all know and hate. It also takes a whole ''lotta > configuration to get up and running in any usable way. But even with > all of that, it still works the best. At least until UltraEdit gets > Ruby support or Komodo cleans up its act. > > Really, a good editor is one of my biggest hang-ups with using Rails. > I love the framework to death, but actually writing code for it is an > excercise in constant frustration. I really wish TextMate would be > ported to Windows, it would really help Rails adoptation. > > -- > -Matt Torok > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060221/1bb81ab9/attachment-0001.html
Matt Torok wrote:> Does Eclipse, in any form, support code completion and/or code > formatting? By code completion I don''t mean diving my method names > from objects, but more like when I type "def foo", it automatically > inserts "end" below it. Same thing for code formatting, when I type > "def foo" or "if object.empty?", it''ll automatically indent me two > more spaces when hit enter, end un-indent me when I type "end".Radrails does this (both standalone and plugin): type "def" and ctrl-space in .rb file or in <%%> in .rhtml and you should get code assist with "def - method definition" highlighted. Hit enter and it puts in the "def" and "end" with "method_name" highlighted; type the method name and it replaces "method_name". b