# Hello RoR

**URL:** <https://www.ruby-forum.com/t/hello-ror/88309>\
**Category:** Rails\
**Created:** [March 9, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/hello-ror/88309 "2007-03-09T16:30:39Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leonardoalmeidabast](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ecae2f/32.png) [@Leonardoalmeidabast](https://www.ruby-forum.com/u/Leonardoalmeidabast)\
**Post date:** [March 9, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/hello-ror/88309/1 "2007-03-09T16:30:39Z")

</div>

Hello all,

I am a Java programmer and I started today with Ruby and also RoR. I am  
using the RadRails IDE (is that the best?) and I would like to know if  
there is a auto-completation feature like in Eclipse for JAVA (ctrl +  
space for classes and methods). Do I need to install anything else?

I am still learning the language’s sintax and I am loving it. It is so  
intuitive and agile.

Thank you.

---

<div class="post-metadata">

**Author:** ![Leonardoalmeidabast](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ecae2f/32.png) [@Leonardoalmeidabast](https://www.ruby-forum.com/u/Leonardoalmeidabast)\
**Post date:** [March 9, 2007, 4:48pm UTC](https://www.ruby-forum.com/t/hello-ror/88309/2 "2007-03-09T16:48:42Z")

</div>

Leonardoalmeidabastos wrote:

> I am a Java programmer and I started today with Ruby and also RoR. I am  
> using the RadRails IDE (is that the best?) and I would like to know if there  
> is a auto-completation feature like in Eclipse for JAVA (ctrl + space for  
> classes and methods). Do I need to install anything else?

Netbeans 6.0 has an auto completer, per other threads here.

> I am still learning the language’s sintax and I am loving it. It is so  
> intuitive and agile.

Eclipses’s autocompleter for Java is so good it makes you wonder - if  
the editor can do everything, then what is the there language for?

Much of that autocompleting was simply “filling out forms to request  
permission to do something”. Ruby only needs like 10% of the source  
lines of Java, so you will find yourself completing less and thinking  
more.

To get a snapshot of what’s available, add this temporarily:

p myObject.public\_methods.sort

The next problem with autocompletion is Java is static and Ruby is  
dynamic. That means, in Java, you can determine the type of any object  
without running the program. That’s what the autocompleter does. Ruby  
saves lines by using a leaner system. You _can’t_ tell the type of any  
object before running the program. So an autocompleter would need to  
either guess or run the program.

If I were inventing an autocompleter, I would attach it to the test  
system. (You _are_ using the unit tests, aren’t you?) Then at complete  
time, I would fetch the type of each object from a log of the  
execution of the tests.

Unit tests are part of the system that makes dynamic typing more  
productive and robust than static typing.

–  
Phlip  
[http://c2.com/cgi/wiki?ZeekLand](http://c2.com/cgi/wiki?ZeekLand) ← NOT a blog!!

---

<div class="post-metadata">

**Author:** ![Leonardoalmeidabast](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ecae2f/32.png) [@Leonardoalmeidabast](https://www.ruby-forum.com/u/Leonardoalmeidabast)\
**Post date:** [March 9, 2007, 4:55pm UTC](https://www.ruby-forum.com/t/hello-ror/88309/3 "2007-03-09T16:55:43Z")

</div>

unfortunately RadRails doensn’t support this feature. i’m missing it  
too.  
but it depends on RDT, not on RadRails. if the guys implement this  
into RDT, it will be available soon in RadRails.  
don’t know if it’s available with the next version. but i think not.  
but radrails development moved to the great aptana guys.  
so i thnk we can expect some new shiny features in the future.

another great upcoming rails IDE is netbeans. they support intelli  
sense! but it’s still beta.  
but looks very, very promising. so you should give this a try too.  
here are some screencasts on whats going on:  
[http://blogs.sun.com/roumen/entry/two\_demos\_jruby\_on\_rails](http://blogs.sun.com/roumen/entry/two_demos_jruby_on_rails)

another tool is ruby in steel. it’s an plug in for visual studio.  
intelli sense on board too. only in the “pro” version afaik.  
[http://www.sapphiresteel.com/](http://www.sapphiresteel.com/)

don’t ask if it’s the best in here. 😉 only thing you’ll hear is the  
mac with Textmate is the best.  
it’s a kinf of religion. what platform you are using? windows? linux?  
mac?

i’m using RadRails for my daily work on windows. i’m quite happy with  
it.  
one point that’s always find fault is the memory consumption. but who  
cares. memory is cheap. 😉

if you are using a pII with 128meg radrails isn’t the best choice for  
you. 😉  
but if you’re a java developer, i think your box is strong enough.

HTH

On 9 Mrz., 16:28, “Leonardoalmeidabastos”

---

<div class="post-metadata">

**Author:** ![Leonardoalmeidabast](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ecae2f/32.png) [@Leonardoalmeidabast](https://www.ruby-forum.com/u/Leonardoalmeidabast)\
**Post date:** [March 9, 2007, 5:26pm UTC](https://www.ruby-forum.com/t/hello-ror/88309/4 "2007-03-09T17:26:55Z")

</div>

Ruby is really nice. I took me a while to get familiar with it. but  
now i really like it.

i think 512mb is a bit less. my memory consumption reaches over day  
peaks of  
1,3 - 1,5 gig. but to be fair, RadRails “only” uses 120 - 140 mb on  
average.

ruby console goes with rdebug up to 100 mb over the day.  
firefox and IE do the largest amount of the rest.

i’m using XP too. no problems here.

so, buy memory and enjoy developing with rails. 🙂

On 9 Mrz., 17:06, “Leonardoalmeidabastos”

---

<div class="post-metadata">

**Author:** ![Leonardoalmeidabast](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ecae2f/32.png) [@Leonardoalmeidabast](https://www.ruby-forum.com/u/Leonardoalmeidabast)\
**Post date:** [March 9, 2007, 5:46pm UTC](https://www.ruby-forum.com/t/hello-ror/88309/5 "2007-03-09T17:46:07Z")

</div>

Phlip wrote:

> lines of Java, so you will find yourself completing less and thinking  
> object before running the program. So an autocompleter would need to

Talking about auto-complete for Ruby/ Rails, you should see this:

> **[Making sense of Ruby](https://www.theregister.com/2007/02/01/making_sense_ruby/)**
>
> An IntelliSense Cure for Method Madness?

I’m not sure but it may be written by the guys behind Ruby in Steel  
(Sapphire Steel).  
Cheers  
Mohit.

---

<div class="post-metadata">

**Author:** ![Leonardoalmeidabast](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ecae2f/32.png) [@Leonardoalmeidabast](https://www.ruby-forum.com/u/Leonardoalmeidabast)\
**Post date:** [March 9, 2007, 6:12pm UTC](https://www.ruby-forum.com/t/hello-ror/88309/6 "2007-03-09T18:12:18Z")

</div>

> I’m not sure but it may be written by the guys behind Ruby in Steel  
> (Sapphire Steel).  
> Cheers  
> Mohit.

it is!

---

<div class="post-metadata">

**Author:** ![Leonardoalmeidabast](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ecae2f/32.png) [@Leonardoalmeidabast](https://www.ruby-forum.com/u/Leonardoalmeidabast)\
**Post date:** [March 9, 2007, 5:13pm UTC](https://www.ruby-forum.com/t/hello-ror/88309/7 "2007-03-09T17:13:51Z")

</div>

Thank you for the update.

I’m using Windows XP right now but I also have Debian Ubuntu Linux. I  
dont  
know which is the best for Ruby. I’ll try it on linux later 🙂 I have  
512mb  
of ram and I hope that it is enough (it is for Java).

I’ll spend a few days learning Ruby before I dive into Rails. I enjoy  
the  
fact that Ruby is 100% OO. \o/

----- Original Message -----  
From: “dweinand” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
To: “Ruby on Rails: Talk” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Sent: Friday, March 09, 2007 12:50 PM  
Subject: [Rails] Re: Hello RoR
