Attributes in classes db/migrate or app/models

Cortomix aa
2012-07-21T10:54:39Z

Hello,

I''ve got some experience in Java, and recently, I''ve begun to
practice
with Rails.

One of the things that has surprised to me, after I''ve read some books,
it''s that classes hasn''t got attributes; the attributes are in
the files
db/migrate/*. After that, the ORM makes the mapping with de Database.
But the attributes aren''t in the files app/models/*.

It''s difficult to me see the class without attributes; in Java is
different. Is there anything bad in this idea?

--
Posted via http://www.ruby-forum.com/.