[Rails] How to write RoR code

Dark Ambient sambient at gmail.com
Sun Jul 30 00:59:31 GMT 2006


I'm brand new myself to Ruby and Rails and even programming.  I
started with AWDWR and ran into problems about understanding the code.
 I got David's book Ruby for Rails (Manning) and have been going
through that for the last week.  I'm kind of curious to know if the
book should be sufficient enough to get me going in using Rails ?
A few things I noticed, and correct me if I'm wrong, but it seems a
Rails web app would not be as "complex" as a Ruby program.  Maybe this
has something to do with the framework itself and Active Record, etc.
 On the other hand I think if your having to learn Ruby and Rails you
now have another layer of complexity, terms and techniques to soak in.
Another thing the I'm curious about and I realize everyone's evolution
is different but it seems that many of the Rails gurus have a pretty
good background / experience(years) in Ruby alone.  At the same time I
imagine that people are coming to Ruby and Rails specifically because
they want to learn and use Rails. I'm just wondering if that is really
practical.

Stuart

On 7/29/06, Jake Jacobsen <jake at jakejacobsen.com> wrote:
> I highly suggest the books that the others have mentioned, but if you
> are not ready to spend any money yet you can get started with the old
> version of Programming Ruby which is free online at
> http://www.rubycentral.com/book/index.html
>
> I got started there and it really helped me to get a handle on how
> ruby works before I was willing to take the plunge and buy a bunch of
> books on RoR.
>
> Read the chapter on classes
> (http://www.rubycentral.com/book/tut_classes.html) and that should
> give you an idea of how to write a class. Most rails classes look
> strange because they inherit from ActiveRecord::Base or
> ApplicationController so there is a lot going on in those parent
> classes that you don't see, but you can look at the documentation at
> http://rubyonrails.org/api/ to see what's going on.
>
> I hope this helps,
> Jake
>
> On 7/28/06, Jose Pepe <jsnit at jsnit.com> wrote:
> > Hi all
> >
> > I took a look to several examples of RoR on different web sites, and I
> > found that it is hard to write a class, in RoR, because I do not
> > understand all the codes used on the source code.
> >
> > jsn
> >
> > --
> > Posted via http://www.ruby-forum.com/.
> > _______________________________________________
> > Rails mailing list
> > Rails at lists.rubyonrails.org
> > http://lists.rubyonrails.org/mailman/listinfo/rails
> >
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>


More information about the Rails mailing list