Search the web
Sign In
New User? Sign Up
RubyOnRails · Ruby on Rails
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Questions about Rails 1.2.X versus 2.X.Y   Message List  
Reply | Forward Message #102 of 107 |
Hello,

Last year, I began my studies of RoR by "Agile Web Development
with Rails" (the classic..) when It was in its first edition.
At that time, I've developed a Rails application, with version 1.2.X
(I do not remember the exact version).
Well, after spending a period away from Rails, I see that we have
already the version 2.x.y, but I'm in trouble with simple things that I
did in the previous version.
For example, when I create a table in mysql (via mysql client,
phpmyadmin, or any other), it was enough to make the "magic" of
"create scaffold" and voilą! The scaffold was ready.
Now, I've downloaded the version 2 of Rails, and I was making the same
thing. When I created the scaffold, voilą! The disappointment... In
the scaffold was no one of the fields form the table ... I've
searched, and understood that the version 2 do not do this by itself,
but I must inform in the command the fields of the table and its
types; moreover, I understood that the db should be created by rake,
and not by a "normal" client for mysql.
Perhaps I am wrong, but this make me think that we have no more the
"automagic" thing, but we are going in the way of any other
framework or library, as Hibernate, for example: to specify manually
to the framework the structure of the database, and perhaps worse:
having to create the database through the framework, and not through
"normal" clents. Besides it appears that there is no "trusted" book to
the new version, as the third version of "Agile Web Dev .." was not
released (yet).
Someone else had this impression?
Is there a good tutorial or official site (in Portuguese or English)
that explain the differences between the versions?
My impressions are real? There is reason for real disappointment?

Regards.




Mon Jul 7, 2008 11:15 pm

jeronimohome
Offline Offline
Send Email Send Email

Forward
Message #102 of 107 |
Expand Messages Author Sort by Date

Hello, Last year, I began my studies of RoR by "Agile Web Development with Rails" (the classic..) when It was in its first edition. At that time, I've...
Jeronimo
jeronimohome
Offline Send Email
Jul 7, 2008
11:56 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help