aptana rad rails - getting started

Am new to ruby on rails.
I'm helping troubleshoot a web site written in ruby on rails.
I've ftp'd the site to my local machine.
And I'm trying to run it in "aptana rad rails" to emulate the browsing
experience and find out where the site is crashing.

What is the equivalent of the "index.html" file in ruby on rails?
I'm not sure where to point rad rails to start the emulation.

Sorry this is such a noob post, but all the online tutorials I can
find are more about programming in ruby on rails, and not a crash
course in how to get in and troubleshoot.

Thanks,
Alex

If you are having that much trouble starting the application, what
makes you think you are going to be able to resolve problems. In most
cases, the app runs on port 3000. You can try http://localhost:3000/

Darian Shimy

I think that you want to look at /public/index.html after you boot up the server. However, check routes.rb in the config directory to see if they specified a new starting point.

something like map.root :controller => ‘something’, :action => ‘index’

and i’d have to agree with Darian – if you don’t know enough about Rails as to where to start looking for stuff you might want to run through some tutorials first. I am no expert on Rails, been learning it for about 3 months now and I still get lost all the time. At the very last, take a look at…

http://www.ruby-lang.org/en/documentation/quickstart/

http://guides.rubyonrails.org/

You probably don’t want to go off into a wild abandon and try to start fixing an application without knowing how the language and how the framework works. just my .02 cents

Steven Elliott Jr

Darian,

I couldn't agree more :slight_smile:
This is a project that basically fell into my lap.
Someone asked me (knowing that I have done sites with html/css) to
"fix" their web site.
It was only after getting under the hood that I realized that it was
done in a completely foreign architecture (to me).
I'm taking this as an excellent opportunity to expand my skills, and
learn something that is becoming more and more
a part of the Web architecture on a daily basis.

I'm excited to learn and am facing a frightening learning curve.
I live in the SF bay area, and would love to have a crash course in
how to deal with this new technology.
I'm literally *just* starting the process, and am looking for
resources and help as to how to get going.
I think the only way I will pull off this project is with one-on-one
help.
Can anyone suggest a way to find a tutor?

Thanks for the feedback,
Sincerely,
Alex

I'm excited to learn and am facing a frightening learning curve.

...

I'm literally *just* starting the process, and am looking for
resources and help as to how to get going.

I would strongly suggest the way to start would be to (1) forget
about aptana and (2) build yourself a basic Rails app, using the
various online guides/tutorials/screencasts available. GIYF.

That will give you a basic understanding of the framework. Then
you can dig into the existing app.

I think the only way I will pull off this project is with one-on-one
help.
Can anyone suggest a way to find a tutor?

Try: <http://www.meetup.com/silicon-valley-ruby/>

HTH, and good luck!

ya, learn how to use Rails from a text editor and command line – the IDE’s are bloated and do nothing but confuse and abstract you from the development process… imho

Steven Elliott Jr

Steven, I second that! I've never needed anything more than TextMate or emacs.

emacs is hardcore! I recently moved to a Mac and decided to go for it and buy TextMate – gotta say I love it.

Steven Elliott Jr