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.