Derrick,
Yeah I’ve made my living building web applications for the past 8
years. However, I use PHP and Oracle on a daily basis NOT Rails. I
don’t think anybody would argue that there is anything quite like
Rails. That’s what makes it interesting.
Also. I’m doing this in addition to my daily work in PHP so I get a
little confused. Ruby is 100% object oriented, PHP is not. I’m still
trying to sink my head around that concept alone. So please bare with
me. Sometimes I just need to ask what is meant by something otherwise
what’s the point of a list right?
I guess I’m spoiled with the excellent documentation resources at
php.net.
Thanks for the help. Very good points.
Thanks,
Phill
On May 9, 2006, at 12:13 PM, Derrick S. wrote:
I don’t mean to sound rude, but you state that you have the book …
have you read it? Furthermore, have you ever built a database
application before? Please don’t take offense, but if you answered no
to these questions, then I think you’ll have some homework to do before
you are ready to dive into building a rails app.
It is stated quite clearly in the book, as well as the docs, that the
result of declaring an association in a model is that the elements in
the related model become available as methods of the class instance.
The method will access a single object for belongs_to or has_one
relationships, and an array of objects for has_many relationships.
One last thing - You’ll get faster and more appropriate responses if
you make your subject line meaningful. Especially on lists as busy as
this, generic subjects will be glossed over more often than not.
-Derrick S.
On May 9, 2006, at 1:48 PM, Phillip Novess wrote:
Phill
It’ll give you a good grounding in Rails and the concepts behind
a record and want to see all the joined data from the other table?
Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails
Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails
Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails